chore: enforce ruff format in pre-commit

Co-authored-by: Copilot App <[email protected]>
This commit is contained in:
Jim Lancaster
2026-08-23 18:14:52 -05:00
co-authored by Copilot App
parent 2a56365847
commit a2bb1acd6b
+7
View File
@@ -13,6 +13,13 @@ repos:
language: system language: system
types_or: [python, pyi] types_or: [python, pyi]
require_serial: true require_serial: true
- id: ruff-format
name: ruff format check
entry: uv run ruff format --check .
language: system
types_or: [python, pyi]
pass_filenames: false
require_serial: true
- id: ty - id: ty
name: ty check (advisory) name: ty check (advisory)
entry: python -c "import subprocess, sys; subprocess.run(['uv', 'run', 'ty', 'check']); sys.exit(0)" entry: python -c "import subprocess, sys; subprocess.run(['uv', 'run', 'ty', 'check']); sys.exit(0)"