Skip to content

Commit 3841656

Browse files
authored
Loosen restrictions on mypy (jaraco/skeleton#136)
Based on changes downstream in setuptools.
1 parent dd30b76 commit 3841656

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

mypy.ini

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
[mypy]
2-
ignore_missing_imports = True
3-
# required to support namespace packages
4-
# https://github.com/python/mypy/issues/14057
2+
# Is the project well-typed?
3+
strict = False
4+
5+
# Early opt-in even when strict = False
6+
warn_unused_ignores = True
7+
warn_redundant_casts = True
8+
enable_error_code = ignore-without-code
9+
10+
# Support namespace packages per https://github.com/python/mypy/issues/14057
511
explicit_package_bases = True
12+
13+
# Disable overload-overlap due to many false-positives
14+
disable_error_code = overload-overlap

0 commit comments

Comments
 (0)