forked from commitizen-tools/commitizen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
39 lines (36 loc) · 896 Bytes
/
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
[tool:pytest]
addopts = --strict-markers
norecursedirs = .* build dist CVS _darcs {arch} *.egg venv env virtualenv
[mypy]
files = commitizen
ignore_missing_imports = true
# disallow_untyped_calls = True
# disallow_untyped_defs = True
# disallow_incomplete_defs = True
disallow_untyped_decorators = true
# disallow_any_generics = True
disallow_subclassing_any = true
warn_return_any = True
warn_redundant_casts = true
warn_unused_ignores = true
warn_unused_configs = true
[mypy-tests.*]
disallow_untyped_decorators = false
[flake8]
ignore =
# F632: use ==/!= to compare str, bytes, and int literals
F632,
# W503: Line break occurred before a binary operator
W503,
# E501: Line too long
E501,
# E203: Whitespace before ':' (for black)
E203
exclude =
.git,
__pycache__,
docs/source/conf.py,
build,
dist
max-line-length = 88
max-complexity = 12