Skip to content

Adopt Ruff, target Python 3.13, add type hints #1

Adopt Ruff, target Python 3.13, add type hints

Adopt Ruff, target Python 3.13, add type hints #1

Workflow file for this run

name: Code Formatting
on:
push:
branches-ignore:
- main
pull_request:
types:
- opened
- ready_for_review
- reopened
jobs:
ci:
runs-on: 'ubuntu-latest'
name: PR Formatter
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Lint and format with Ruff
run: |
uvx ruff check --fix .
uvx ruff format .
- name: Check-in updated code
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
committer_name: GitHub Actions
committer_email: actions@github.com
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}