Files
hinpdof/.pre-commit-config.yaml
Hadley Rich 6c6c837301
Some checks failed
Build and Publish Docker Image / build (push) Failing after 17s
Initial
2024-11-11 10:26:47 +13:00

26 lines
611 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-toml
- id: check-json
- id: check-merge-conflict
- id: debug-statements
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.3
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: local
hooks:
- id: tests
name: run tests
require_serial: true
entry: pytest -v tests
language: system
types: [python]
stages: [pre-push]