Skip to content

Mypy

Mypy #56

Workflow file for this run

# This workflow will install Python dependencies and run mypy
name: Mypy
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
mypy:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: ["3.13"]
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install mypy pytest
- name: Run mypy
run: mypy . --strict --exclude=docs