Newer
Older
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/timothycrosley/isort

André Anjos
committed
args: [--settings-path, "pyproject.toml"]
- repo: https://github.com/psf/black
hooks:
- id: black
exclude: bob/devtools/templates/setup.py
- repo: https://gitlab.com/pycqa/flake8
exclude: |
(?x)^(
bob/devtools/templates/setup.py|
deps/bob-devel/run_test.py
)$
- repo: https://github.com/pre-commit/pre-commit-hooks
hooks:
- id: check-ast
exclude: bob/devtools/templates/setup.py
- id: check-case-conflict
- id: trailing-whitespace
- id: end-of-file-fixer
- id: debug-statements
exclude: bob/devtools/templates/setup.py
- id: check-added-large-files
exclude: bob/devtools/templates/setup.py