Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
lint:
name: ruff lint with fix
name: ruff lint
runs-on: ubuntu-latest
steps:
- name: checkout repo
Expand All @@ -21,5 +21,11 @@ jobs:
uv venv .venv
UV_VENV=.venv uv pip install ruff

- name: run ruff with autofix
run: UV_VENV=.venv uv run -- ruff check . --fix
- name: run ruff check
run: UV_VENV=.venv uv run -- ruff check .

- name: check formatting
run: UV_VENV=.venv uv run -- ruff format --check .

- name: run ruff lint
run: UV_VENV=.venv uv run -- ruff check .
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ repos:
rev: v0.11.10
hooks:
- id: ruff
args: [--fix]
- id: ruff-format