Skip to content

Code formatted with Ruff #33

Code formatted with Ruff

Code formatted with Ruff #33

Workflow file for this run

name: Python Linting and formatting with Ruff
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.PAT }}
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Ruff
run: |
python -m pip install --upgrade pip
pip install ruff
- run: |
ruff format
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'Code formatted with Ruff'