2020-09-23 22:42:21 +00:00
|
|
|
---
|
|
|
|
repos:
|
|
|
|
- repo: https://github.com/psf/black
|
|
|
|
rev: 20.8b1
|
|
|
|
hooks:
|
|
|
|
- id: black
|
2020-10-11 22:57:33 +00:00
|
|
|
language_version: python3
|
2020-09-23 22:42:21 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/asottile/blacken-docs
|
|
|
|
rev: v0.5.0
|
|
|
|
hooks:
|
|
|
|
- id: blacken-docs
|
|
|
|
additional_dependencies: [black==20.8b1]
|
2020-10-11 22:57:33 +00:00
|
|
|
language_version: python3
|
2020-09-23 22:42:21 +00:00
|
|
|
|
|
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
|
|
|
rev: v2.3.5
|
|
|
|
hooks:
|
|
|
|
- id: reorder-python-imports
|
|
|
|
language_version: python3
|
|
|
|
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v2.0.0
|
|
|
|
hooks:
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: fix-encoding-pragma
|
|
|
|
args: [--remove]
|
|
|
|
- id: trailing-whitespace
|