2020-09-16 07:41:53 +00:00
|
|
|
---
|
|
|
|
repos:
|
2021-05-02 22:12:04 +00:00
|
|
|
- repo: local
|
2020-12-22 02:18:46 +00:00
|
|
|
hooks:
|
|
|
|
- id: end-of-file-fixer
|
2021-05-02 22:12:04 +00:00
|
|
|
name: end-of-file-fixer
|
|
|
|
entry: end-of-file-fixer
|
2020-12-22 02:18:46 +00:00
|
|
|
language: system
|
2021-05-02 22:12:04 +00:00
|
|
|
types: [text]
|
|
|
|
|
2020-12-22 02:18:46 +00:00
|
|
|
- id: fix-encoding-pragma
|
2021-05-02 22:12:04 +00:00
|
|
|
name: fix-encoding-pragma
|
|
|
|
entry: fix-encoding-pragma
|
2020-12-22 02:18:46 +00:00
|
|
|
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
|
2020-12-22 02:18:46 +00:00
|
|
|
language: system
|
2021-05-02 22:12:04 +00:00
|
|
|
types: [text]
|
|
|
|
|
2020-12-22 02:18:46 +00:00
|
|
|
- id: check-merge-conflict
|
2021-05-02 22:12:04 +00:00
|
|
|
name: check-merge-conflict
|
|
|
|
entry: check-merge-conflict
|
2020-12-22 02:18:46 +00:00
|
|
|
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-10-28 23:03:09 +00:00
|
|
|
- "--unclassifiable-application-module=fresnel_lens"
|
2021-05-02 22:12:04 +00:00
|
|
|
language: system
|
|
|
|
types: [python]
|
2020-12-22 02:18:46 +00:00
|
|
|
|
2020-09-16 07:41:53 +00:00
|
|
|
- id: black
|
2021-05-02 22:12:04 +00:00
|
|
|
name: black
|
|
|
|
entry: black
|
2020-12-22 02:18:46 +00:00
|
|
|
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
|
2020-12-22 02:18:46 +00:00
|
|
|
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
|
2020-12-22 02:18:46 +00:00
|
|
|
language: system
|
2021-05-02 22:12:04 +00:00
|
|
|
args:
|
|
|
|
- "--number"
|
|
|
|
- "--wrap=90"
|
|
|
|
types:
|
|
|
|
- markdown
|