Update type hints #56
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
| # Run tests and style checks on each commit to an open pull request. | |
| name: on-commit | |
| on: [pull_request, workflow_dispatch] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.10', '3.12', '3.13', '3.14', '3.14t', 'pypy3.11'] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: astral-sh/setup-uv@v6 | |
| with: | |
| version: "0.9.7" | |
| - name: Check types with mypy | |
| run: uv run --python ${{ matrix.python-version }} mypy | |
| - name: Test with pytest | |
| run: uv run --python ${{ matrix.python-version }} pytest | |
| style: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: astral-sh/setup-uv@v6 | |
| - name: Lint | |
| run: uvx ruff check | |
| - name: Check formatting | |
| run: uvx ruff format --check |