Skip to content

Type annotations

Type annotations #145

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
pre-commit:
name: Run pre-commit hooks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: actions/setup-python@main
- run: python -m pip install --upgrade pre-commit
- run: pre-commit run -a
tests:
name: Run tests using Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'
steps:
- uses: actions/checkout@main
- uses: actions/setup-python@main
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install --upgrade nox
- run: nox --session tests-${{ matrix.python-version }}