third_party.pylibs.pylint.src/.pre-commit-config.yaml
Pierre Sassoulas 2ca40bf161 Feat - Add isort in the pre-commit configuration
This is compatible with the current black configuration.
See : https://github.com/ambv/black/issues/127
2019-03-20 09:07:35 +01:00

18 lines
474 B
YAML

repos:
- repo: https://github.com/ambv/black
rev: 18.6b4
hooks:
- id: black
args: [--safe, --quiet]
exclude: functional|input|test/extension|test/regrtest_data|test/data
python_version: python3.6
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v1.2.3
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.13
hooks:
- id: isort