mirror of
https://github.com/enpaul/glassy.git
synced 2024-11-14 10:36:53 +00:00
67 lines
1.4 KiB
YAML
67 lines
1.4 KiB
YAML
|
---
|
||
|
repos:
|
||
|
- repo: local
|
||
|
hooks:
|
||
|
- id: end-of-file-fixer
|
||
|
name: end-of-file-fixer
|
||
|
entry: end-of-file-fixer
|
||
|
language: system
|
||
|
types:
|
||
|
- text
|
||
|
|
||
|
- id: fix-encoding-pragma
|
||
|
name: fix-encoding-pragma
|
||
|
entry: fix-encoding-pragma
|
||
|
language: system
|
||
|
args:
|
||
|
- "--remove"
|
||
|
types:
|
||
|
- python
|
||
|
|
||
|
- id: trailing-whitespace-fixer
|
||
|
name: trailing-whitespace-fixer
|
||
|
entry: trailing-whitespace-fixer
|
||
|
language: system
|
||
|
types:
|
||
|
- text
|
||
|
|
||
|
- id: check-merge-conflict
|
||
|
name: check-merge-conflict
|
||
|
entry: check-merge-conflict
|
||
|
language: system
|
||
|
types:
|
||
|
- text
|
||
|
|
||
|
- id: reorder-python-imports
|
||
|
name: reorder-python-imports
|
||
|
entry: reorder-python-imports
|
||
|
language: system
|
||
|
args:
|
||
|
- "--unclassifiable-application-module=glassy"
|
||
|
types:
|
||
|
- python
|
||
|
|
||
|
- id: black
|
||
|
name: black
|
||
|
entry: black
|
||
|
language: system
|
||
|
types:
|
||
|
- python
|
||
|
|
||
|
- id: blacken-docs
|
||
|
name: blacken-docs
|
||
|
entry: blacken-docs
|
||
|
language: system
|
||
|
types:
|
||
|
- text
|
||
|
|
||
|
- id: mdformat
|
||
|
name: mdformat
|
||
|
entry: mdformat
|
||
|
language: system
|
||
|
args:
|
||
|
- "--number"
|
||
|
- "--wrap=90"
|
||
|
types:
|
||
|
- markdown
|