Skip to content

Attempt to fix tests #159

Attempt to fix tests

Attempt to fix tests #159

Workflow file for this run

name: "Lint"
on:
push:
pull_request:
permissions:
contents: write
jobs:
ruff:
name: "Ruff"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout the repository"
uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4.2.2
- name: "Set up Python"
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: "3.x"
- name: "Install requirements"
run: |
python -m pip install --upgrade pip
pip install ruff
- name: "Format"
run: ruff format .
- name: "Check"
run: ruff check --output-format=github . --fix
- name: "Auto Commit"
uses: stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # v5.1.0
with:
commit_message: 'style fixes by ruff'