Skip to content

name change

name change #58

# Static analysis: Ruff (lint/format) and mypy (type checking).
# Fail on any violation so new issues cannot be introduced.
name: Static analysis
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
ruff:
name: Ruff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
pip install -e ".[dev]"
- name: Ruff check
run: ruff check src tests scripts alembic
mypy:
name: Mypy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Mypy
run: mypy src tests scripts