summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/lint.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 1d9444f6..ce62e9e8 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -15,3 +15,13 @@ jobs:
pushd frontend
npm install
npm run lint
+
+ - name: Run black (Python formatting)
+ uses: lgeiger/black-action@v1.0.1
+ with:
+ args: "./backend --experimental-string-processing --config ./backend/pyproject.toml"
+
+ - name: Run ruff (Python linting)
+ uses: jpetrucciani/ruff-check@main
+ with:
+ path: "./backend"