mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-15 13:02:56 +08:00
Add pre-commit config for flake8 (#8068)
This makes it easier to lint your own work with `pre-commit`, but doesn't change the CI config by adding this to the pre-commit.ci skip list. There's no way to automatically reflect the additional dependencies from the requirements file, so the flake8 plugin list needs to be a verbatim copy. resolves #7991
This commit is contained in:
1 parent
60c2733ca8
commit
199132122b
2 files changed
+10
-1
No files matched your search
@@ -2,6 +2,7 @@ mypy==0.960
|
||||
pytype==2022.6.6; platform_system != "Windows"
|
||||
# must match .pre-commit-config.yaml
|
||||
black==22.3.0
|
||||
# must match .pre-commit-config.yaml
|
||||
flake8==4.0.1
|
||||
flake8-bugbear==21.11.29
|
||||
flake8-pyi==22.5.1
|
||||
|
||||
Reference in new issue
Block a user