mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
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:
@ -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"),
|
||||
],
|
||||
)
|
||||
|
Reference in New Issue
Block a user