feat(ci); ruff on python files
This commit is contained in:
parent
5dd16067f0
commit
f643b6713a
1 changed files with 12 additions and 0 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
|
@ -23,3 +23,15 @@ jobs:
|
|||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --display-style quiet .
|
||||
|
||||
- name: Install uv
|
||||
uses: astral-sh/setup-uv@v4
|
||||
|
||||
- name: Install ruff
|
||||
run: uv tool install ruff
|
||||
|
||||
- name: Check Python formatting with ruff
|
||||
run: ruff format --check templates/scrapers/
|
||||
|
||||
- name: Lint Python files with ruff
|
||||
run: ruff check templates/scrapers/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue