From 8fab4871535a3ce28aa76d278a9752c8db038ac5 Mon Sep 17 00:00:00 2001 From: Sky Leite Date: Fri, 3 Feb 2023 23:59:49 -0300 Subject: Add python linting actions --- .github/workflows/lint.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.github') 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" -- cgit v1.2.3