Skip to content

Fix style to keep ruff and black happy. #16

Fix style to keep ruff and black happy.

Fix style to keep ruff and black happy. #16

Workflow file for this run

name: Lint and Test Python Code
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
jobs:
lint: # The name of the job
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["pypy3.10", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dev dependencies
run: |
python -m pip install --upgrade pip poetry
poetry install
- name: Run Ruff
run: poetry run ruff check --output-format=github && poetry run pycodestyle src
- name: Run tests under Python ${{ matrix.python-version }}
run: poetry run make test