mirror of
https://github.com/kennetek/gridfinity-rebuilt-openscad.git
synced 2024-11-17 22:10:50 +00:00
728fff110a
* Fixes CI not running. * Allows markdown files to have hard linebreaks. * Ads additional checks.
24 lines
631 B
YAML
24 lines
631 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v5.0.0
|
|
hooks:
|
|
- id: check-merge-conflict
|
|
- id: end-of-file-fixer
|
|
- id: fix-byte-order-marker
|
|
- id: trailing-whitespace
|
|
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]
|