Hopefully now fixed bug #58
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 | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| Lint: | |
| strategy: | |
| fail-fast: false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Check lockfile | |
| run: uv lock --check | |
| - name: Lint with ruff | |
| continue-on-error: true | |
| run: | | |
| # Fail if codebase contains any of these issues | |
| uv run ruff check . | |
| uv run ruff format --check . | |
| - name: Static Typechecking with mypy | |
| run: | | |
| uv run mypy --config-file pyproject.toml src tests |