2020-02-19 03:37:39 +00:00
|
|
|
---
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2020-11-26 06:22:13 +00:00
|
|
|
rev: v3.3.0
|
2020-02-19 03:37:39 +00:00
|
|
|
hooks:
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: fix-encoding-pragma
|
|
|
|
args: [--remove]
|
|
|
|
- id: trailing-whitespace
|
2020-11-26 06:22:13 +00:00
|
|
|
- id: check-merge-conflict
|
|
|
|
|
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: master
|
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
language: system
|
|
|
|
|
|
|
|
- repo: https://github.com/asottile/blacken-docs
|
|
|
|
rev: master
|
|
|
|
hooks:
|
|
|
|
- id: blacken-docs
|
|
|
|
language: system
|
2020-02-19 03:37:39 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
2020-11-26 06:22:13 +00:00
|
|
|
rev: master
|
2020-02-19 03:37:39 +00:00
|
|
|
hooks:
|
|
|
|
- id: reorder-python-imports
|
2020-11-26 06:54:37 +00:00
|
|
|
args:
|
|
|
|
- --application-directories=keyosk
|
2020-11-26 06:22:13 +00:00
|
|
|
language: system
|
2020-11-26 06:54:37 +00:00
|
|
|
exclude: "tests/"
|