Fix formatting with black
This commit is contained in:
parent
533f24a1d6
commit
d1b60790d6
@ -1,9 +1,13 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black
|
||||||
rev: 23.7.0 # Use the latest stable version
|
rev: 23.7.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
args: [--check, --diff]
|
args: [--diff] # Run with `--diff` in CI to avoid unnecessary changes
|
||||||
|
always_run: true # Always run this hook, even if nothing was staged
|
||||||
|
- id: black
|
||||||
|
args: [--quiet]
|
||||||
|
stages: [commit] # Recommend full reformat for local development only
|
||||||
|
|
||||||
- repo: https://github.com/pycqa/flake8
|
- repo: https://github.com/pycqa/flake8
|
||||||
rev: 6.1.0 # Use the latest stable version
|
rev: 6.1.0 # Use the latest stable version
|
||||||
|
Loading…
x
Reference in New Issue
Block a user