summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorStephen Finucane <sfinucan@redhat.com>2019-12-16 10:20:03 +0000
committerStephen Finucane <sfinucan@redhat.com>2020-01-17 11:30:40 +0000
commite3da87a45dc9302c1c9d9418ed2b80a8c68d1507 (patch)
tree7eca10a447b5300b18a194b5817869e9d25a3bac /.pre-commit-config.yaml
parentb44b540fc70504f3869ef23022642095de0ea99e (diff)
downloadnova-e3da87a45dc9302c1c9d9418ed2b80a8c68d1507.tar.gz
Switch to hacking 2.x
This bumps the version of flake8 and pycodestyle to something much newer, which resolves a long-standing warning about nested sets and allows us to use new fangled features like f-strings if we so choose. Change-Id: I0bb9077f1cea2243b7945e87cfa140f9cf89d558 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 988f8da592..36274409c1 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -28,7 +28,7 @@ repos:
- id: flake8
name: flake8
additional_dependencies:
- - hacking>=1.1.0,<1.2.0
+ - hacking>=2.0,<3.0
language: python
entry: flake8
files: '^.*\.py$'