minitor/.pre-commit-config.yaml

25 lines
674 B
YAML
Raw Permalink Normal View History

2018-04-09 17:44:30 +00:00
repos:
2022-04-05 03:23:15 +00:00
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
2018-04-09 17:44:30 +00:00
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.2.3
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: debug-statements
language_version: python3
- id: check-yaml
args:
- --allow-multiple-documents
2018-04-09 17:44:30 +00:00
- id: check-merge-conflict
- id: name-tests-test
exclude: tests/(common.py|util.py|(helpers|integration/factories)/(.+).py)
- repo: https://github.com/asottile/reorder_python_imports
rev: v1.0.1
2018-04-09 17:44:30 +00:00
hooks:
- id: reorder-python-imports
args:
- --py3-plus