[1/N] Apply py39 ruff fixes (#138578)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/138578
Approved by: https://github.com/Skylion007
This commit is contained in:
cyy
2024-12-02 21:46:15 +00:00
committed by PyTorch MergeBot
parent b47bdb06d8
commit 55250b324d
26 changed files with 118 additions and 42 deletions

View File

@ -6,7 +6,7 @@
# files.
[mypy]
python_version = 3.8
python_version = 3.9
plugins = mypy_plugins/check_mypy_version.py, numpy.typing.mypy_plugin
cache_dir = .mypy_cache/strict