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]