Fix formatting with black

This commit is contained in:
GotthardG
2024-12-16 11:26:17 +01:00
parent 6ae15dece9
commit 16a6d6ba90

View File

@ -33,9 +33,9 @@ lint:
- pip install pre-commit black flake8 - pip install pre-commit black flake8
- > - >
pre-commit run --all-files || { pre-commit run --all-files || {
echo "Pre-commit formatting failed. Auto-fixing formatting issues with black..." && echo "Pre-commit formatting failed. Auto-fixing formatting issues with black..." &&
black backend/ && black backend/ &&
exit 0; # Continue after auto-fixing issues exit 0;
} }
deploy: deploy: