chore(backend): add black/isort/flake8 + pre-commit
This commit is contained in:
9
backend/scripts/lint.sh
Executable file
9
backend/scripts/lint.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
. .venv/bin/activate
|
||||
|
||||
python -m black .
|
||||
python -m isort .
|
||||
python -m flake8 .
|
||||
Reference in New Issue
Block a user