Revert "add numpy typing plugin to mypy config (#92930)"

This reverts commit 5f1ac188f8dd01a81d0ddeebdbc4d22e25311b72.

Reverted https://github.com/pytorch/pytorch/pull/92930 on behalf of https://github.com/clee2000 due to causing test_doc_examples (main.TestTypeHints) to fail https://github.com/pytorch/pytorch/actions/runs/4049393005/jobs/6965869223 5f1ac188f8, note for revert review: PR was forced merged after first failure, which was flaky
This commit is contained in:
PyTorch MergeBot
2023-01-31 01:13:01 +00:00
parent 1a454310b9
commit 01687a6bad
3 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
[mypy]
plugins = mypy_plugins/check_mypy_version.py, numpy.typing.mypy_plugin
plugins = mypy_plugins/check_mypy_version.py
cache_dir = .mypy_cache/nofollow
warn_unused_configs = True

View File

@ -7,7 +7,7 @@
[mypy]
python_version = 3.8
plugins = mypy_plugins/check_mypy_version.py, numpy.typing.mypy_plugin
plugins = mypy_plugins/check_mypy_version.py
cache_dir = .mypy_cache/strict
strict_optional = True

View File

@ -2,7 +2,7 @@
# test_run_mypy in test/test_type_hints.py uses this string)
[mypy]
plugins = mypy_plugins/check_mypy_version.py, numpy.typing.mypy_plugin
plugins = mypy_plugins/check_mypy_version.py
cache_dir = .mypy_cache/normal
warn_unused_configs = True