Skip to content

fixing the pre-commit (#95) #6

fixing the pre-commit (#95)

fixing the pre-commit (#95) #6

Workflow file for this run

name: pre-commit
on: [push, pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install python dependencies
run: |
pip install --upgrade pip
pip install -e .[pre-commit]
- name: Run pre-commit
run: |
pre-commit clean
git add .pre-commit-config.yaml
pre-commit install
pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )