-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.cfg
More file actions
40 lines (36 loc) · 818 Bytes
/
setup.cfg
File metadata and controls
40 lines (36 loc) · 818 Bytes
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
[flake8]
ignore=
# D104 Missing docstring in public package
D104,
# D100 Missing docstring in public module
D100,
# D107 Missing docstring in __init__
D107,
# ANN101 Missing type annotation for self/cls in method
ANN101, ANN102
# W503 line break before binary operator
W503,
SIM110
per-file-ignores=
netsgiro/__init__.py:F403,F401,
netsgiro/utils.py:E203,E501,
exclude =
.git,
.venv
.idea,
__pycache__,
tests/*
max-complexity = 15
max-line-length = 100
type-checking-exempt-modules = typing
enable-extensions = TC, TC2
[mypy]
strict = True
show_error_codes = True
ignore_missing_imports = True
warn_redundant_casts = True
warn_unused_configs = True
warn_unused_ignores = True
disallow_any_generics = False
[mypy-tests.*]
ignore_errors = True