-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.cfg
37 lines (34 loc) · 933 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
37
[flake8]
select = B,B9,BLK,C,D,DAR,E,F,I,N,RST,S,W
ignore = E203, W503, D212, D413, D107, E501, S201, S603, S404
max-line-length = 80
max-complexity = 10
application-import-names = dp_api,tests
import-order-style = smarkets
docstring-convention = google
per-file-ignores = tests/*:S101
strictness = short
[mypy]
check_untyped_defs = True
disallow_any_generics = True
disallow_incomplete_defs = True
disallow_subclassing_any = True
disallow_untyped_calls = True
disallow_untyped_defs = True
no_implicit_optional = True
#no_implicit_reexport = True
pretty = True
show_column_numbers = True
show_error_codes = True
show_error_context = True
strict_equality = True
strict_optional = True
warn_redundant_casts = True
warn_return_any = True
warn_unreachable = True
warn_unused_configs = True
warn_unused_ignores = True
[mypy-tests.*]
disallow_untyped_decorators = False
[mypy-pytest,cached_property,xdg.*]
ignore_missing_imports = True