-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsetup.cfg
45 lines (43 loc) · 1.01 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
[flake8]
enable-extensions = TC, TC1
max-complexity = 18
max-line-length = 120
ignore=
# D104 Missing docstring in public package
D104,
# D100 Missing docstring in public module
D100,
# D107 Missing docstring in __init__
D107,
# W503 line break before binary operator
W503,
# New black update seem to be incompatible with the next 3
# E203 whitespace before ':'
# E231 missing whitespace after ':'
# E241 multiple spaces after ':'
# E272 multiple spaces before keyword
# E271 multiple spaces after keyword
E203,
E231,
E241,
E272,
E271,
exclude =
.git,
.venv
.idea,
__pycache__,
per-file-ignores =
flake8_type_checking/checker.py:SIM114
flake8_type_checking/types.py:D
tests/**.py:D103,D205,D400,D102,D101
[mypy]
python_version = 3.8
strict = True
warn_redundant_casts = True
warn_unused_configs = True
warn_return_any = True
show_error_codes = True
ignore_missing_imports = True
[mypy-tests.*]
disallow_untyped_defs = False