-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
117 lines (104 loc) · 2.18 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
[metadata]
name = py-racoon
url = https://github.com/nymann/racoon
maintainer = Kristian Nymann Jakobsen
maintainer_email = kristian@nymann.dev
description = Racoon
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
cookiecutter >= 1.7.3
PyGithub >= 1.55
[options.extras_require]
all =
%(dev)s
%(tests)s
dev =
isort
wemake-python-styleguide
mypy
black
nitpick
add-trailing-comma
tests =
pytest
pytest-cov
pytest-mock
[options.packages.find]
where = src
[options.entry_points]
console_scripts =
py-racoon = racoon.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/racoon/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,E203
max-complexity = 6
max-imports = 16
max-line-length = 120
show-source = True
strictness = long
inline-quotes = double
per-file-ignores =
tests/**.py:WPS218,WPS432,WPS442,S101
src/racoon/version.py:WPS410
src/racoon/git.py:S603,S607,S404
[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