pre-commit: Lower flake8 version
We're depending on flake8 3.8.3 and hacking>=3.0.1,<3.1.0, but that version of hacking has a flake8<3.8.0 cap. Match our version of flake8 with the version expected by hacking. We can bump hacking later. Change-Id: Icdd50050a193311ebbaed1f229a1f4d03d66d8a1
This commit is contained in:
parent
bd2356bfcf
commit
dce486245e
@ -3,7 +3,7 @@
|
|||||||
# code from running in developer's machines. To update to a
|
# code from running in developer's machines. To update to a
|
||||||
# newer version, run `pre-commit autoupdate` and then replace
|
# newer version, run `pre-commit autoupdate` and then replace
|
||||||
# the newer versions with their commit hash.
|
# the newer versions with their commit hash.
|
||||||
|
---
|
||||||
default_language_version:
|
default_language_version:
|
||||||
python: python3
|
python: python3
|
||||||
|
|
||||||
@ -28,7 +28,7 @@ repos:
|
|||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
files: .*\.(yaml|yml)$
|
files: .*\.(yaml|yml)$
|
||||||
- repo: https://gitlab.com/pycqa/flake8
|
- repo: https://gitlab.com/pycqa/flake8
|
||||||
rev: 181bb46098dddf7e2d45319ea654b4b4d58c2840 # 3.8.3
|
rev: ee2920d775df18481d638c2da084d229d56f95b9 # 3.7.9
|
||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
|
Loading…
Reference in New Issue
Block a user