Skip to content

Update pre-commit hook charliermarsh/ruff-pre-commit to v0.8.3 #2197

Update pre-commit hook charliermarsh/ruff-pre-commit to v0.8.3

Update pre-commit hook charliermarsh/ruff-pre-commit to v0.8.3 #2197

Workflow file for this run

# Runs the pre-commit workflow (formatting & linting)
name: Format & Lint
on:
pull_request:
branches: [main]
push:
branches: [main]
permissions:
contents: read
jobs:
run-pre-commit-hooks:
runs-on: ubuntu-24.04
steps:
- name: Checkout the GitHub repo
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install pre-commit
run: python -m pip install pre-commit
- name: Display pre-commit version
run: python -m pre_commit --version
- name: Install pre-commit hooks
run: python -m pre_commit install
- name: Run pre-commit hooks on all files
run: python -m pre_commit run --all-files