forked from PatBall1/detectree2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
36 lines (32 loc) · 1.09 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
[flake8]
max-line-length = 120
docstring-convention = google
# D100: Missing docstring in public module
# D101: Missing docstring in public class
# D102: Missing docstring in public method
# D103: Missing docstring in public function
# D104: Missing docstring in public package
# D105: Missing docstring in magic method
# D107: Missing docstring in __init__
# D202: No blank lines allowed after function docstring
ignore = D100, D101, D102, D103, D104, D202, D212, W503, N803, N806,
exclude = detectree2/models/train_tune.py, detectree2/data_loading, detectree2/preprocessing/FixJsonForTrain.py
[pep8]
indent-size = 4
[isort]
#
[mypy]
# Suggested at https://blog.wolt.com/engineering/2021/09/30/professional-grade-mypy-configuration/
# Goal would be to make all of the below True long-term
disallow_untyped_defs = False
disallow_any_unimported = False
no_implicit_optional = False
check_untyped_defs = False
warn_unused_ignores = False
show_error_codes = True
ignore_missing_imports = True
mypy_path = .stubs
warn_return_any = True
warn_unused_configs = True
[mypy-detectree2.data_loading.*]
ignore_errors = True