fix: remove ruff --fix #31
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: pythonbooks | |
| on: [push, pull_request] | |
| jobs: | |
| lint: | |
| name: ruff lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout repo | |
| uses: actions/checkout@v4 | |
| - name: set up python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.x" | |
| - name: install ruff via uv | |
| run: | | |
| pip install uv | |
| uv venv .venv | |
| UV_VENV=.venv uv pip install ruff | |
| - 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 . |