Skip to content

Commit f838ac0

Browse files
committed
feat: Don't ignore missing imports in general
Only for the two libraries for which it's necessary. See <https://mypy.readthedocs.io/en/latest/command_line.html#cmdoption-mypy-ignore-missing-imports>.
1 parent 424b643 commit f838ac0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

mypy.ini

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,16 @@ disallow_subclassing_any = True
66
disallow_untyped_calls = True
77
disallow_untyped_decorators = True
88
disallow_untyped_defs = True
9-
ignore_missing_imports = True
109
no_implicit_optional = True
1110
show_error_codes = True
1211
strict_equality = True
1312
warn_redundant_casts = True
1413
warn_return_any = True
1514
warn_unused_configs = True
1615
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)