Skip to content

Improve typing and add mypy #6

Improve typing and add mypy

Improve typing and add mypy #6

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/ruff-action@v3
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: mypy
run: uv run mypy --cache-dir=/dev/null package
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install dependencies
run: uv sync --locked
- name: Run tests
run: uv run pytest -v -s