pre-commit: Enable black
Since our pep8 tox env now runs pre-commit, we can ensure that black styling will be maintained. Change-Id: Ie3d684cecf882498914f7726363e443d2d3e99a3 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
48ff44f046
commit
c946294bdd
@ -21,6 +21,11 @@ repos:
|
||||
rev: v1.1.1
|
||||
hooks:
|
||||
- id: doc8
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 22.8.0
|
||||
hooks:
|
||||
- id: black
|
||||
args: ['-S', '-l', '79']
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: flake8
|
||||
|
Loading…
Reference in New Issue
Block a user