-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.cfg
36 lines (28 loc) · 815 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]
# http://www.pydocstyle.org/en/2.1.1/error_codes.html
ignore = D107,D401,D202,D203,E203,E402,E501,W503,D105
max-line-length = 120
exclude = docs,.tox,build
inline-quotes = double
# https://github.com/asottile/flake8-typing-imports#configuration
min_python_version = 3.10
[isort]
line_length = 120
multi_line_output = 3
skip = .tox,build
known_first_party = dontforget,tests
include_trailing_comma = True
force_grid_wrap = 0
combine_as_imports = True
[mypy]
python_version = 3.6
ignore_missing_imports = true
# do not follow imports (except for ones found in typeshed)
follow_imports = skip
# treat Optional per PEP 484
strict_optional = True
# ensure all execution paths are returning
warn_no_return = True
# lint-style cleanliness for typing
warn_redundant_casts = True
warn_unused_ignores = True