mirror of
https://github.com/enpaul/kodak.git
synced 2024-11-14 10:36:55 +00:00
60 lines
1.3 KiB
YAML
60 lines
1.3 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
|
|
args:
|
|
- "--remove"
|
|
language: system
|
|
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
|
|
args:
|
|
- "--unclassifiable-application-module=kodak"
|
|
language: system
|
|
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
|