genienlp/.pre-commit-config.yaml

29 lines
773 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/hadialqattan/pycln
rev: 0.0.4
hooks:
- id: pycln
args: [--config=pyproject.toml]
- repo: https://github.com/PyCQA/isort
rev: 5.9.2
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 21.7b0
hooks:
- id: black
language_version: python3.8
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
verbose: false