lawsynth/.pre-commit-config.yaml
2026-08-16 22:04:11 +03:00

16 lines
415 B
YAML

repos:
- repo: local
hooks:
- id: cargo-fmt
name: cargo fmt
language: system
pass_filenames: false
entry: cargo fmt --all -- --check
files: '\.rs$'
- id: python-compile
name: Python syntax
language: system
pass_filenames: false
entry: python3 -m compileall -q python/lawsynth/src python/lawsynth/tests
files: '\.py$'