Skip to content

Commit 27be9e7

Browse files
committed
Enable extra mypy strictness for extra safety
strict equality added in python/mypy#6370
1 parent 134b96a commit 27be9e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mypy.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ disallow_untyped_decorators = true
1212
no_implicit_optional = true
1313
warn_unused_ignores = true
1414
warn_return_any = true
15+
disallow_any_generics = true
16+
strict_equality = true
1517

1618
# TODO: enable this at some point
1719
# disallow_untyped_calls = true

0 commit comments

Comments
 (0)