-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loosen restrictions on mypy (jaraco/skeleton#136)
Based on changes downstream in setuptools.
- Loading branch information
Showing
1 changed file
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |