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>
This commit is contained in:
Stephen Finucane
2019-12-16 10:20:03 +00:00
parent b44b540fc7
commit e3da87a45d
6 changed files with 125 additions and 69 deletions
+1 -1
View File
@@ -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$'