1
0
mirror of https://github.com/enpaul/kodak.git synced 2024-11-14 10:36:55 +00:00
kodak/.pre-commit-config.yaml

60 lines
1.3 KiB
YAML
Raw Normal View History

2020-09-16 07:41:53 +00:00
---
repos:
2021-05-02 22:12:04 +00:00
- repo: local
hooks:
- id: end-of-file-fixer
2021-05-02 22:12:04 +00:00
name: end-of-file-fixer
entry: end-of-file-fixer
language: system
2021-05-02 22:12:04 +00:00
types: [text]
- id: fix-encoding-pragma
2021-05-02 22:12:04 +00:00
name: fix-encoding-pragma
entry: fix-encoding-pragma
args:
- "--remove"
language: system
2021-05-02 22:12:04 +00:00
types: [python]
- id: trailing-whitespace-fixer
name: trailing-whitespace-fixer
entry: trailing-whitespace-fixer
language: system
2021-05-02 22:12:04 +00:00
types: [text]
- id: check-merge-conflict
2021-05-02 22:12:04 +00:00
name: check-merge-conflict
entry: check-merge-conflict
language: system
2021-05-02 22:12:04 +00:00
types: [text]
- id: reorder-python-imports
name: reorder-python-imports
entry: reorder-python-imports
args:
2021-05-05 17:48:02 +00:00
- "--unclassifiable-application-module=imagemuck"
2021-05-02 22:12:04 +00:00
language: system
types: [python]
2020-09-16 07:41:53 +00:00
- id: black
2021-05-02 22:12:04 +00:00
name: black
entry: black
language: system
2021-05-02 22:12:04 +00:00
types: [python]
2020-09-16 07:41:53 +00:00
- id: blacken-docs
2021-05-02 22:12:04 +00:00
name: blacken-docs
entry: blacken-docs
language: system
2021-05-02 22:12:04 +00:00
types: [text]
2020-09-16 07:41:53 +00:00
2021-05-02 22:12:04 +00:00
- id: mdformat
name: mdformat
entry: mdformat
language: system
2021-05-02 22:12:04 +00:00
args:
- "--number"
- "--wrap=90"
types:
- markdown