Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 956339c4 authored by GotthardG's avatar GotthardG
Browse files

Fix formatting with black

parent 635feb6a
No related branches found
No related tags found
No related merge requests found
Pipeline #44571 failed
......@@ -31,12 +31,12 @@ lint:
script:
- source $VIRTUAL_ENV/bin/activate
- pip install pre-commit black flake8
# Run pre-commit hooks
- pre-commit run --all-files || (
echo "Auto-fixing formatting issues with black..." &&
black backend/ && # Fix formatting locally
git diff && # Show fixes in pipeline output
exit 1 # Fail the job to indicate changes are needed
- >
pre-commit run --all-files || (
echo "Auto-fixing formatting issues with black..." &&
black backend/ &&
git diff &&
exit 1
)
deploy:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment