Skip to content

Add mypy CI job

Add mypy CI job #26

Workflow file for this run

name: Lint
on:
push:
pull_request:
permissions:
contents: read
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: chartboost/ruff-action@v1
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- uses: pypa/hatch@install
- name: Run mypy
run: hatch run types:check