pre-commit: Enable black
Since our pep8 tox env now runs pre-commit, we can ensure that black styling will be maintained. Change-Id: Ifad1d67a83c4979b4f4de71de0124613d1133560 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
parent
229791cdb4
commit
3c9afe69bb
@ -17,6 +17,11 @@ repos:
|
||||
- id: check-yaml
|
||||
files: .*\.(yaml|yml)$
|
||||
args: ['--unsafe']
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 23.3.0
|
||||
hooks:
|
||||
- id: black
|
||||
args: ['-S', '-l', '79']
|
||||
- repo: https://github.com/PyCQA/bandit
|
||||
rev: 1.7.5
|
||||
hooks:
|
||||
|
Loading…
Reference in New Issue
Block a user