-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.cfg
36 lines (33 loc) · 927 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
[flake8]
extend-exclude = venv
max-line-length = 88
max-doc-length = 88
max-complexity = 18
select = C, E, F, W
# C mccabe
# E pycodestyle
# F pyflakes
# W pycodestyle # these just for ascii art
ignore = E203, E501, W503, E731, E221, E241, E122, W604, E111, E113, E231, E305
# compatible with psf/black
# https://github.com/psf/black/blob/master/docs/compatible_configs.md
# E203 Whitespace before ':'
# E501 Line too long (82 > 79 characters)
# W503 Line break occurred before a binary operator
[tool:pytest]
addopts =
--strict-markers
[mypy]
check_untyped_defs = True
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
disallow_untyped_decorators = True
no_implicit_optional = True
python_version = 3.8
warn_redundant_casts = True
warn_unused_ignores = True
warn_no_return = True
warn_unreachable = True
[mypy-combinators.v0.*]
ignore_errors = True