| [mypy] | |
| plugins = mypy_plugins/check_mypy_version.py | |
| cache_dir = .mypy_cache/nofollow | |
| warn_unused_configs = True | |
| warn_redundant_casts = True | |
| show_error_codes = True | |
| show_column_numbers = True | |
| check_untyped_defs = True | |
| follow_imports = skip | |
| # do not reenable this: | |
| # https://github.com/pytorch/pytorch/pull/60006#issuecomment-866130657 | |
| warn_unused_ignores = False | |
| disallow_any_generics = True | |
| files = | |
| torch/_dynamo | |
| # Minimum version supported - variable annotations were introduced | |
| # in Python 3.7 | |
| python_version = 3.7 | |
| [mypy-sympy] | |
| ignore_missing_imports = True | |
| [mypy-sympy.*] | |
| ignore_missing_imports = True | |
| [mypy-torch._C] | |
| ignore_errors = True | |
| [mypy-torch._C.*] | |
| ignore_errors = True |