-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.cfg
27 lines (26 loc) · 809 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
# Read more about `setup.cfg`: https://docs.python.org/3/distutils/configfile.html
[flake8]
format = pylint
exclude = .git,__pycache__,.idea,.gitignore,pics/,scripts/,nohup.out
max-complexity = 15
max-line-length = 120
doctests = True
ignore = E731,D104,D401,I101,I201,F401,F403,S001,D100,D101,D102,D103,D105,D106,D107,D200,D205,D400,W504,E203,D202
[mypy]
# mypy configurations: http://bit.ly/2zEl9WI
python_version = 3.7
allow_redefinition = False
check_untyped_defs = True
disallow_any_generics = True
ignore_missing_imports = True
implicit_reexport = False
strict_optional = True
strict_equality = True
no_implicit_optional = True
warn_no_return = True
warn_unused_ignores = True
warn_redundant_casts = True
warn_unused_configs = True
warn_return_any = True
warn_unreachable = True
show_error_codes = True