summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSky Leite <sky@leite.dev>2023-02-03 23:59:49 -0300
committerSky Leite <sky@leite.dev>2023-02-04 00:06:53 -0300
commit8fab4871535a3ce28aa76d278a9752c8db038ac5 (patch)
treebe7d2711a555672f7b93994ca9e063bfc2fc39b6
parentb6fce46081979c4ec8fdb833ec9583ac7a2f68cc (diff)
downloaddecky-loader-8fab4871535a3ce28aa76d278a9752c8db038ac5.tar.gz
decky-loader-8fab4871535a3ce28aa76d278a9752c8db038ac5.zip
Add python linting actions
-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"