Fix formatting with black
This commit is contained in:
@ -33,9 +33,9 @@ lint:
|
||||
- pip install pre-commit black flake8
|
||||
- >
|
||||
pre-commit run --all-files || {
|
||||
echo "Pre-commit formatting failed. Auto-fixing formatting issues with black..." &&
|
||||
black backend/ &&
|
||||
exit 0; # Continue after auto-fixing issues
|
||||
echo "Pre-commit formatting failed. Auto-fixing formatting issues with black..." &&
|
||||
black backend/ &&
|
||||
exit 0;
|
||||
}
|
||||
|
||||
deploy:
|
||||
|
Reference in New Issue
Block a user