Add python linting actions

This commit is contained in:
Sky Leite
2023-02-03 23:59:49 -03:00
parent b6fce46081
commit 8fab487153
+10
View File
@@ -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"