Skip to content

Commit

Permalink
Loosen restrictions on mypy (#136)
Browse files Browse the repository at this point in the history
Based on changes downstream in setuptools.
  • Loading branch information
Avasam committed Aug 12, 2024
1 parent dd30b76 commit 3841656
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
[mypy]
ignore_missing_imports = True
# required to support namespace packages
# https://github.com/python/mypy/issues/14057
# Is the project well-typed?
strict = False

# Early opt-in even when strict = False
warn_unused_ignores = True
warn_redundant_casts = True
enable_error_code = ignore-without-code

# Support namespace packages per https://github.com/python/mypy/issues/14057
explicit_package_bases = True

# Disable overload-overlap due to many false-positives
disable_error_code = overload-overlap

0 comments on commit 3841656

Please sign in to comment.