Skip to content

Commit 4639a59

Browse files
committed
Enable already passing rules
1 parent 2946d55 commit 4639a59

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.mypy.ini

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[mypy]
22
# Start off with these
3-
; warn_unused_configs = True
4-
; warn_redundant_casts = True
5-
; warn_unused_ignores = True
3+
warn_unused_configs = True
4+
warn_redundant_casts = True
5+
warn_unused_ignores = True
66

77
# Getting these passing should be easy
8-
; strict_equality = True
9-
; extra_checks = True
8+
strict_equality = True
9+
extra_checks = True
1010

1111
# Strongly recommend enabling this one as soon as you can
1212
; check_untyped_defs = True
1313

1414
# These shouldn't be too much additional work, but may be tricky to
1515
# get passing if you use a lot of untyped libraries
16-
; disallow_subclassing_any = True
17-
; disallow_untyped_decorators = True
16+
disallow_subclassing_any = True
17+
disallow_untyped_decorators = True
1818
; disallow_any_generics = True
1919

2020
# These next few are various gradations of forcing use of type annotations
@@ -23,10 +23,10 @@
2323
; disallow_untyped_defs = True
2424

2525
# This one isn't too hard to get passing, but return on investment is lower
26-
; no_implicit_reexport = True
26+
no_implicit_reexport = True
2727

2828
# This one can be tricky to get passing if you use a lot of untyped libraries
29-
; warn_return_any = True
29+
warn_return_any = True
3030

3131
[mypy-tests.*]
3232
ignore_errors = True

0 commit comments

Comments
 (0)