Skip to content

Ruff not flake8

Ruff not flake8 #902

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.11, 3.12, 3.13]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install uv
uv sync
pip install -e .
- name: Lint with ruff
run: |
ruff check phial/ tests/ examples/
- name: Lint with mypy
run: |
mypy phial tests stubs examples
- name: Test with pytest
run: |
pytest tests -v
- name: Build docs
run: |
python -msphinx -M html "docs/source" "build/"