2021-05-23 07:20:49 +00:00
|
|
|
repos:
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.0.1
|
|
|
|
hooks:
|
|
|
|
- id: check-yaml
|
|
|
|
- id: end-of-file-fixer
|
2021-05-24 21:54:36 +00:00
|
|
|
exclude: ^(tests/dataset/|tests/database/|tests/expected_results/)
|
2021-05-23 07:20:49 +00:00
|
|
|
- id: trailing-whitespace
|
2021-05-24 21:54:36 +00:00
|
|
|
exclude: ^(tests/dataset/|tests/database/|tests/expected_results/)
|
2021-06-24 18:03:58 +00:00
|
|
|
- repo: https://github.com/hadialqattan/pycln
|
2021-09-27 21:34:45 +00:00
|
|
|
rev: v1.0.3
|
2021-06-24 18:03:58 +00:00
|
|
|
hooks:
|
|
|
|
- id: pycln
|
2021-07-24 01:47:53 +00:00
|
|
|
args: [--config=pyproject.toml]
|
2021-05-23 07:20:49 +00:00
|
|
|
- repo: https://github.com/PyCQA/isort
|
2021-09-27 21:34:45 +00:00
|
|
|
rev: 5.9.3
|
2021-05-23 07:20:49 +00:00
|
|
|
hooks:
|
|
|
|
- id: isort
|
|
|
|
- repo: https://github.com/psf/black
|
2021-09-27 21:34:45 +00:00
|
|
|
rev: 21.9b0
|
2021-05-23 07:20:49 +00:00
|
|
|
hooks:
|
|
|
|
- id: black
|
2021-07-24 01:47:53 +00:00
|
|
|
- repo: https://gitlab.com/pycqa/flake8
|
|
|
|
rev: 3.9.2
|
2021-05-23 07:20:49 +00:00
|
|
|
hooks:
|
|
|
|
- id: flake8
|
2021-05-24 18:18:30 +00:00
|
|
|
verbose: false
|