Skip to content

style: apply ruff format to source and test files #142

style: apply ruff format to source and test files

style: apply ruff format to source and test files #142

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
pip config set global.retries 5 || true
pip install -e ".[dev]"
- name: Lint with ruff
run: ruff check src/ tests/
- name: Run tests
run: python -m pytest tests/ -v --tb=short