Last active
January 24, 2025 16:13
-
-
Save marcusadair/c7e7e3a68f5df61b3e34a75669c57ee6 to your computer and use it in GitHub Desktop.
mypy config
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] | |
| # Config: https://mypy.readthedocs.io/en/stable/config_file.html | |
| # Cheat sheet: https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html | |
| python_version = 3.12 | |
| files = . | |
| check_untyped_defs = True | |
| no_implicit_reexport = True | |
| strict_equality = True | |
| disallow_any_generics = True | |
| disallow_subclassing_any = True | |
| disallow_untyped_decorators = True | |
| disallow_untyped_defs = True | |
| warn_no_return = True | |
| warn_redundant_casts = True | |
| warn_return_any = True | |
| warn_unreachable = True | |
| warn_unused_configs = True | |
| warn_unused_ignores = True | |
| pretty = True | |
| show_error_code_links = True | |
| show_error_context = True | |
| [mypy-tests.*] | |
| disallow_untyped_defs = False | |
| [mypy-numba.*,pyarrow.*] | |
| # missing type stubs | |
| ignore_missing_imports = True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment