PR Title Check / check-title (pull_request) Successful in 7s
Code Quality Pipeline / code-quality (pull_request) Successful in 31s
Test Python Package / unit-tests (pull_request) Successful in 15s
Test Python Package / integration-tests (pull_request) Successful in 41s
Test Python Package / coverage-report (pull_request) Successful in 13s
45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
repos:
|
|
# General repository hygiene hooks
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-yaml
|
|
- id: check-added-large-files
|
|
- id: debug-statements
|
|
- id: name-tests-test
|
|
- id: check-merge-conflict
|
|
|
|
# Python tooling via uv (versions pinned in uv.lock)
|
|
- repo: local
|
|
hooks:
|
|
- id: ruff-check
|
|
name: ruff check
|
|
entry: uv run ruff check --fix
|
|
language: system
|
|
types: [python]
|
|
- id: ruff-format
|
|
name: ruff format
|
|
entry: uv run ruff format
|
|
language: system
|
|
types: [python]
|
|
- id: mypy
|
|
name: mypy
|
|
entry: uv run mypy .
|
|
language: system
|
|
types: [python]
|
|
pass_filenames: false
|
|
- id: pyupgrade
|
|
name: pyupgrade
|
|
entry: uv run pyupgrade --py312-plus
|
|
language: system
|
|
types: [python]
|
|
|
|
# Formatting for Markdown, JSON, and YAML with Prettier
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
rev: v4.0.0-alpha.8
|
|
hooks:
|
|
- id: prettier
|
|
files: "\\.(md|json|yaml|yml)$"
|