Skip to content

Commit 2eb1537

Browse files
committed
mypy: simplify configuration
1 parent 01a8235 commit 2eb1537

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

mypy.ini

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
11
[mypy]
2+
strict = True
23
show_error_context = true
34
show_column_numbers = true
45
show_error_codes = true
56
pretty = true
6-
7-
# --strict options as of mypy 0.910
8-
warn_unused_configs = True
9-
disallow_any_generics = True
10-
disallow_subclassing_any = True
11-
disallow_untyped_calls = True
12-
disallow_untyped_defs = True
13-
disallow_incomplete_defs = True
14-
check_untyped_defs = True
15-
disallow_untyped_decorators = True
16-
no_implicit_optional = True
17-
warn_redundant_casts = True
18-
warn_unused_ignores = True
19-
warn_return_any = True
20-
implicit_reexport = False
21-
strict_equality = True
7+
warn_unreachable = True
228

239
[mypy-ruamel.*]
2410
ignore_errors = True

0 commit comments

Comments
 (0)