2021-08-06 15:37:45 +02:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.0.1
|
|
|
|
hooks:
|
|
|
|
- id: check-ast
|
|
|
|
types: [python]
|
|
|
|
- id: check-json
|
|
|
|
types: [json]
|
|
|
|
- id: check-toml
|
|
|
|
types: [toml]
|
|
|
|
- id: check-xml
|
|
|
|
types: [xml]
|
|
|
|
- id: check-yaml
|
|
|
|
types: [yaml]
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: pretty-format-json
|
|
|
|
args:
|
|
|
|
- --autofix
|
|
|
|
- --no-sort-keys
|
|
|
|
- id: trailing-whitespace
|
|
|
|
args:
|
|
|
|
- --markdown-linebreak-ext=md
|
|
|
|
- repo: https://github.com/timothycrosley/isort
|
2021-08-06 15:41:41 +02:00
|
|
|
rev: 5.9.3
|
2021-08-06 15:37:45 +02:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
types: [python]
|
|
|
|
- repo: https://github.com/psf/black
|
2021-08-06 15:41:41 +02:00
|
|
|
rev: 21.7b0
|
2021-08-06 15:37:45 +02:00
|
|
|
hooks:
|
|
|
|
- id: black
|
|
|
|
types: [python]
|