Skip to content

Add ruff pre-commit hook and apply it #4

Add ruff pre-commit hook and apply it

Add ruff pre-commit hook and apply it #4

Workflow file for this run

name: pre-commit
on:
push:
branches: [main]
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install pre-commit
run: |
python -m pip install --upgrade pip
pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files