Skip to content

Linting with Ruff

Linting with Ruff #2

Workflow file for this run

name: Lint
on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
- dev
jobs:
lint:
runs-on: ubuntu-latest
# Set this at job level so it's marked as failed if any of the steps fail
continue-on-error: true
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[test]"
- name: Ruff Format Check
run: ruff format --check .
- name: Ruff Lint Check
run: ruff check --output-format=github .