Skip to content

Introduce more Ruff rules to improve code quality #43

Introduce more Ruff rules to improve code quality

Introduce more Ruff rules to improve code quality #43

name: Pre-commit Checks
on:
pull_request: {}
workflow_dispatch: {}
jobs:
build:
name: Run pre-commit checks
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
id: setup_python
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: |
pip install poetry
- name: Install dependencies
run: |
poetry install
- name: Install pre-commit
run: |
pip install pre-commit
- name: Run pre-commit
run: |
pre-commit run --all-files