mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 11:12:00 +00:00
Add python linting actions
This commit is contained in:
@@ -15,3 +15,13 @@ jobs:
|
|||||||
pushd frontend
|
pushd frontend
|
||||||
npm install
|
npm install
|
||||||
npm run lint
|
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user