diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 86f5d69..6e79f12 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 \ No newline at end of file + - 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 . \ No newline at end of file diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e8aa2ba..30e882a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,5 +3,4 @@ repos: rev: v0.11.10 hooks: - id: ruff - args: [--fix] - id: ruff-format \ No newline at end of file