ofx-processor/.pre-commit-config.yaml

34 lines
794 B
YAML
Raw Permalink Normal View History

2021-11-18 19:04:43 +01: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-yaml
types: [yaml]
args: [--allow-multiple-documents]
# - id: check-xml
# types: [xml]
- id: end-of-file-fixer
- id: pretty-format-json
args:
- --autofix
- --no-sort-keys
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md
- repo: https://github.com/timothycrosley/isort
rev: 5.10.1
hooks:
- id: isort
types: [python]
- repo: https://github.com/psf/black
rev: 21.11b1
hooks:
- id: black
types: [python]