Last active
November 4, 2022 09:26
-
-
Save izikeros/946d65c15190b7cf48590f629119ab60 to your computer and use it in GitHub Desktop.
mypy configuration for ignoring libraries with missing stubs
This file contains hidden or 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
| [mypy] | |
| check_untyped_defs = true | |
| disallow_any_generics = true | |
| disallow_incomplete_defs = true | |
| disallow_untyped_defs = true | |
| no_implicit_optional = true | |
| warn_redundant_casts = true | |
| warn_unused_ignores = true | |
| warn_unreachable = true | |
| [mypy-tests.*] | |
| disallow_untyped_defs = false | |
| [mypy-numpy.*] | |
| ignore_missing_imports = True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment