-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.cfg
48 lines (37 loc) · 913 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
38
39
40
41
42
43
44
45
46
47
48
[flake8]
max-line-length = 119
[mypy]
# Miscellaneous
warn_unused_configs = True
# Untyped definitions and calls
disallow_untyped_defs = True
disallow_untyped_calls = True
disallow_incomplete_defs = True
check_untyped_defs = True
disallow_untyped_decorators = True
# None and Optional handling
no_implicit_optional = True
# Configuration warnings
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = True
warn_unreachable = True
# Miscellaneous strictness flags
strict_equality = True
# Error messages
show_error_codes = True
[mypy-tests.*]
disallow_untyped_defs = False
warn_return_any = False
strict_equality = False
[mypy-test.test_integration]
disallow_untyped_defs = True
warn_return_any = True
strict_equality = False
[isort]
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True
ensure_newline_before_comments = True
line_length = 88