Skip to content

Update dependency ruff to v0.7.2 #2059

Update dependency ruff to v0.7.2

Update dependency ruff to v0.7.2 #2059

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