48 lines
1000 B
YAML
48 lines
1000 B
YAML
|
---
|
||
|
repos:
|
||
|
- repo: local
|
||
|
hooks:
|
||
|
- id: end-of-file-fixer
|
||
|
name: Fix whitespace at EOF
|
||
|
entry: end-of-file-fixer
|
||
|
language: system
|
||
|
types:
|
||
|
- text
|
||
|
|
||
|
- id: trailing-whitespace-fixer
|
||
|
name: Fix trailing line whitespace
|
||
|
entry: trailing-whitespace-fixer
|
||
|
language: system
|
||
|
types:
|
||
|
- text
|
||
|
|
||
|
- id: black
|
||
|
name: Enforce python formatting
|
||
|
entry: black
|
||
|
language: system
|
||
|
types:
|
||
|
- python
|
||
|
|
||
|
- id: check-toml
|
||
|
name: Check TOML file syntax
|
||
|
entry: check-toml
|
||
|
language: system
|
||
|
types:
|
||
|
- toml
|
||
|
|
||
|
- id: check-yaml
|
||
|
name: Check YAML file syntax
|
||
|
entry: check-yaml
|
||
|
language: system
|
||
|
args:
|
||
|
- "--unsafe"
|
||
|
types:
|
||
|
- yaml
|
||
|
|
||
|
- id: check-merge-conflict
|
||
|
name: Check for unresolved git conflicts
|
||
|
entry: check-merge-conflict
|
||
|
language: system
|
||
|
types:
|
||
|
- text
|