2023-09-22 06:10:38 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-10-13 21:26:25 +00:00
|
|
|
rev: v5.0.0
|
2023-09-22 06:10:38 +00:00
|
|
|
hooks:
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: end-of-file-fixer
|
2024-10-13 21:26:25 +00:00
|
|
|
- id: fix-byte-order-marker
|
2023-09-22 06:10:38 +00:00
|
|
|
- id: trailing-whitespace
|
2024-10-13 21:26:25 +00:00
|
|
|
args: [--markdown-linebreak-ext=md]
|
|
|
|
- id: check-case-conflict
|
|
|
|
- id: check-illegal-windows-names
|
|
|
|
- id: check-json
|
|
|
|
- id: check-yaml
|
|
|
|
#- id: name-tests-test # Ensure's pytest files end in "_test.py
|
|
|
|
- id: no-commit-to-branch # Prevent accidental commits to main
|
|
|
|
|
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: no-stl
|
|
|
|
name: Forbid STL files
|
|
|
|
entry: Do not commit STL files.
|
|
|
|
language: fail
|
|
|
|
files: \.stl
|
|
|
|
types: [binary]
|