Skip to content

Refactor v1 prep

Refactor v1 prep #28

Workflow file for this run

name: Static analysis
on:
pull_request:
paths:
- .github/workflows/static-analysis.yml
- .pre-commit-config.yaml
- .ruff.toml
- pyproject.toml
- src/**
- tests/**
permissions:
contents: read
jobs:
pre-commit-checks:
name: Pre-commit checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install pre-commit
run: |
pip install pre-commit
- name: Run pre-commit
run: |
pre-commit run --show-diff-on-failure --color=always --all-files