Docs/readme reconciliation #107
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: Lint Python | |
| on: | |
| push: | |
| paths: | |
| - '**/*.py' | |
| - 'ruff.toml' | |
| - '.github/workflows/lint.yml' | |
| pull_request: | |
| paths: | |
| - '**/*.py' | |
| - 'ruff.toml' | |
| - '.github/workflows/lint.yml' | |
| jobs: | |
| ruff: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' | |
| - name: Install ruff | |
| # Pin to the same version developers use locally. | |
| run: pip install ruff==0.14.14 | |
| - name: Run ruff | |
| # Uses ruff.toml at the repo root for rules and exclusions. | |
| run: ruff check . |