Revert "[CI] update flake8 and mypy lint dependencies (#158720)"

This reverts commit f5130bf339f12ccf5c6296130c47685bdc4858e4.

Reverted https://github.com/pytorch/pytorch/pull/158720 on behalf of https://github.com/yangw-dev due to this pr failed internally when build torchgen due to rror: fail: Unknown PyPI project: pyyaml, it seems like this is caused by change PyYAML into  pyyaml, please fix it ([comment](https://github.com/pytorch/pytorch/pull/158720#issuecomment-3129995414))
This commit is contained in:
PyTorch MergeBot
2025-07-28 22:02:10 +00:00
parent 08ea8fccaf
commit 59e261bbd8
16 changed files with 200 additions and 198 deletions

View File

@ -4,7 +4,7 @@ def define_targets(rules):
srcs = rules.glob(["**/*.py"]),
visibility = ["//visibility:public"],
deps = [
rules.requirement("pyyaml"),
rules.requirement("PyYAML"),
rules.requirement("typing-extensions"),
],
)
@ -14,7 +14,7 @@ def define_targets(rules):
srcs = [":torchgen"],
visibility = ["//visibility:public"],
deps = [
rules.requirement("pyyaml"),
rules.requirement("PyYAML"),
rules.requirement("typing-extensions"),
],
)