Skip to content

Commit 750f9a7

Browse files
author
Jon Duckworth
authored
Merge pull request #537 from l0b0/refactor/use-stricter-mypy-configuration
refactor: Use stricter mypy configuration
2 parents e46ef7b + f838ac0 commit 750f9a7

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

mypy.ini

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
11
[mypy]
2+
check_untyped_defs = True
23
disallow_any_generics = True
4+
disallow_incomplete_defs = True
5+
disallow_subclassing_any = True
6+
disallow_untyped_calls = True
7+
disallow_untyped_decorators = True
38
disallow_untyped_defs = True
4-
ignore_missing_imports = True
59
no_implicit_optional = True
610
show_error_codes = True
11+
strict_equality = True
712
warn_redundant_casts = True
813
warn_return_any = True
14+
warn_unused_configs = True
915
warn_unused_ignores = True
16+
17+
[mypy-jsonschema.*]
18+
ignore_missing_imports = True
19+
20+
[mypy-setuptools.*]
21+
ignore_missing_imports = True

0 commit comments

Comments
 (0)