Skip to content

Closes #43: Add type hints in the code base #252

Closes #43: Add type hints in the code base

Closes #43: Add type hints in the code base #252

Workflow file for this run

---
name: Check format, lint and tests
on:
pull_request: {}
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Validate pyproject.toml and uv.lock
run: uv lock --locked --offline --no-cache --check
- name: Install dependencies
run: uv sync --locked --all-groups
- name: Run format and lint
run: |
uv run ruff format --check --diff .
uv run ruff check --diff .
- name: Run type checking
run: uv run ty check .
- name: Run Tests
run: uv run pytest