genienlp/.pre-commit-config.yaml

24 lines
657 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-yaml
- id: end-of-file-fixer
exclude: ^(tests/dataset/|tests/database/|tests/expected_results/)
- id: trailing-whitespace
exclude: ^(tests/dataset/|tests/database/|tests/expected_results/)
- repo: https://github.com/PyCQA/isort
rev: 5.8.0
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 21.5b1
hooks:
- id: black
language_version: python3.8
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: flake8
verbose: false