Fix formatting with black
This commit is contained in:
parent
a0be71bdfe
commit
533f24a1d6
@ -30,8 +30,8 @@ lint:
|
||||
stage: test
|
||||
script:
|
||||
- source $VIRTUAL_ENV/bin/activate
|
||||
- pip install pre-commit # Install pre-commit in the CI environment
|
||||
- pre-commit run --all-files # Run all pre-commit hooks on the entire codebase
|
||||
- pip install pre-commit
|
||||
- pre-commit run --all-files || (echo "Auto-fixing formatting issues" && black backend/ && git diff && exit 1)
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
|
Loading…
x
Reference in New Issue
Block a user