Skip to content

Readme

Readme #22

Workflow file for this run

name: lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
pip install pre-commit==3.5.0 ruff==0.1.6
- name: Run Ruff
run: ruff check --output-format=github .
- name: Run Ruff formatter
run: ruff format --check .