Fix warning during pre-commit (#1231)
This commit is contained in:
parent
f240d17b83
commit
9b1d971af4
|
@ -3,14 +3,11 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
name: black
|
name: black
|
||||||
# entry: bash -c 'cd spiffworkflow-backend && black'
|
|
||||||
entry: black
|
entry: black
|
||||||
language: system
|
language: system
|
||||||
files: ^spiffworkflow-backend/
|
files: ^spiffworkflow-backend/
|
||||||
types: [python]
|
types: [python]
|
||||||
line-length: 130
|
|
||||||
require_serial: true
|
require_serial: true
|
||||||
# exclude: ^migrations/
|
|
||||||
exclude: "/migrations/"
|
exclude: "/migrations/"
|
||||||
|
|
||||||
# --preview because otherwise it will not fix long lines if the long lines contain long strings
|
# --preview because otherwise it will not fix long lines if the long lines contain long strings
|
||||||
|
|
Loading…
Reference in New Issue