Files
pydantic-ai-harness/.pre-commit-config.yaml
T
David Montague 1b823c3fce Add Python package skeleton with CI/CD release pipeline
Set up pydantic-harness as a publishable Python package using hatchling,
with CI (lint, test across Python 3.10-3.13) and automated PyPI releases
on tag pushes via OIDC trusted publishing — mirroring pydantic-handlebars.
2026-03-22 20:35:16 -06:00

34 lines
796 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: no-commit-to-branch # prevent direct commits to main branch
- id: check-yaml
- id: check-toml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: local
hooks:
- id: lint
name: Ruff Lint
entry: make
args: [lint]
types: [python]
language: system
pass_filenames: false
- id: format
name: Ruff Format
entry: make
args: [format]
types: [python]
language: system
pass_filenames: false
- id: typecheck
name: Pyright
entry: make
args: [typecheck]
types: [python]
language: system
pass_filenames: false