mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
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:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user