-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
123 lines (110 loc) · 2.42 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
[metadata]
name = crackmes_dl
url = https://github.com/nymann/crackmes-dl
maintainer = Kristian Nymann Jakobsen
maintainer_email = [email protected]
description = Crackmes DL
long_description = file: README.md
long_description_content_type = text/markdown
[options]
packages = find:
include_package_data = true
package_dir = = src
python_requires = >= 3.9
setup_requires =
pytest-runner
install_requires =
typer >= 0.4.1
requests >= 2.27.1
beautifulsoup4 >= 4.11.1
pydantic >= 1.9.0, < 2.0.0
[options.extras_require]
all =
%(dev)s
%(tests)s
dev =
isort
wemake-python-styleguide
mypy
black
nitpick
add-trailing-comma
types-requests >= 2.27.17
types-beautifulsoup4 >= 4.10.19
devtools[pygmentz]
tests =
pytest
pytest-cov
pytest-mock
[options.packages.find]
where = src
[options.entry_points]
console_scripts =
crackmes_dl = crackmes_dl.main:app
[tool:pytest]
testpaths = tests
addopts =
--color=yes
--cov-report=xml
--cov-report=html
--cov=src
--cov-report=term-missing
[coverage:run]
branch = true
omit = src/crackmes_dl/version.py
source =
src
tests
[coverage:paths]
source =
src
[aliases]
test=pytest
[pydocstyle]
convention=google
[flake8]
docstring-style = google
format = wemake
ignore = WPS305,D100,D101,D102,D103,D104,D105,D106,D107,H601,WPS306,WPS454,WPS431
max-complexity = 6
max-line-length = 120
max-imports = 16
show-source = True
strictness = long
inline-quotes = double
per-file-ignores =
tests/**.py:WPS218,WPS432,WPS442,S101,S106
src/**/version.py:WPS410
src/crackmes_dl/main.py:B008,WPS404,WPS600
src/crackmes_dl/responses.py:N805
src/crackmes_dl/payloads.py:N805
[isort]
combine_as_imports = True
force_grid_wrap = 0
force_single_line = True
force_sort_within_sections = True
include_trailing_comma = True
lexicographical = True
line_length = 120
multi_line_output = 3
single_line_exclusions = typing
src_paths = src,tests
[mypy]
allow_redefinition = False
check_untyped_defs = True
disallow_incomplete_defs = True
disallow_untyped_calls = True
disallow_untyped_decorators = False
disallow_untyped_defs = True
ignore_errors = False
ignore_missing_imports = True
implicit_reexport = False
local_partial_types = True
no_implicit_optional = True
strict_equality = True
strict_optional = True
warn_no_return = True
warn_redundant_casts = True
warn_unreachable = True
warn_unused_configs = True
warn_unused_ignores = True