third_party.pylibs.pylint.src/.pre-commit-config.yaml
Pierre Sassoulas e44f83e22a [pre-commit] More precise exclusion for black
Probably broken when we moved the test from pylint/test to
tests/.
2019-07-22 12:39:50 +02:00

17 lines
465 B
YAML

repos:
- repo: https://github.com/ambv/black
rev: 19.3b0
hooks:
- id: black
args: [--safe, --quiet]
exclude: tests/functional|tests/input|tests/extensions/data|tests/regrtest_data/|tests/data/
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.15
hooks:
- id: isort