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:
Stephen Finucane 2021-03-11 17:31:46 +00:00
parent bd2356bfcf
commit dce486245e
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# code from running in developer's machines. To update to a
# newer version, run `pre-commit autoupdate` and then replace
# the newer versions with their commit hash.
---
default_language_version:
python: python3
@ -28,7 +28,7 @@ repos:
- id: check-yaml
files: .*\.(yaml|yml)$
- repo: https://gitlab.com/pycqa/flake8
rev: 181bb46098dddf7e2d45319ea654b4b4d58c2840 # 3.8.3
rev: ee2920d775df18481d638c2da084d229d56f95b9 # 3.7.9
hooks:
- id: flake8
additional_dependencies: