-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
99 lines (86 loc) · 1.82 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
[metadata]
name = gilded_rose
url = https://github.com/nymann/gilded-rose-python
maintainer = Kristian Nymann Jakobsen
version = 0.0.1
maintainer_email = [email protected]
description = Python version of Gilded Rose refactoring
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
tests_require =
pytest
pytest-cov
pytest-xdist
[options.extras_require]
dev =
isort
wemake-python-styleguide
mypy
black
dlint
nitpick
cohesion
pyformat
add-trailing-comma
pre-commit
devtools[pygments]
[options.packages.find]
where = src
[tool.nitpick]
style = "https://raw.githubusercontent.com/wemake-services/wemake-python-styleguide/master/styles/nitpick-style.toml"
[tool:pytest]
testpaths = tests
addopts =
--color=yes
--cov-report=xml
--cov-report=html
--cov=src
--cov-report=term-missing
[coverage:run]
branch = True
source =
src
tests
[coverage:paths]
source =
src
[aliases]
test=pytest
[pydocstyle]
convention=google
[flake8]
format = wemake
show-source = True
ignore =
WPS306 # Prefer implicit object base class
D100,D101,D102,D103,D104,D105,D106,D107 # Comments
inline-quotes = double
max-line-length = 120
[mypy-tests.*]
ignore_errors = True
[mypy]
follow_imports = skip
ignore_missing_imports = True
strict_optional = True
warn_no_return = True
warn_redundant_casts = True
warn_unused_ignores = True
[isort]
lexicographical = True
force_sort_within_sections = True
force_single_line = True
src_paths=src,tests
single_line_exclusions = typing
known_first_party = gilded_rose,tests
combine_as_imports = True
force_grid_wrap = 0
include_trailing_comma = True
line_length = 120
multi_line_output = 3