vdirsyncer/.pre-commit-config.yaml
Hugo Osvaldo Barrera e2d3c1add7 Add pre-commit hooks with some basic linting
Mostly to keep an eye on code quality as I move forward.
2020-06-08 18:40:33 +02:00

15 lines
482 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer
- id: check-toml
- id: check-added-large-files
- id: debug-statements
- repo: https://gitlab.com/pycqa/flake8
rev: "master" # pick a git hash / tag to point to
hooks:
- id: flake8
additional_dependencies: [flake8-import-order, flake8-bugbear]