Skip to content
Snippets Groups Projects
.pre-commit-config.yaml 1.07 KiB
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's avatar
André Anjos committed
      - id: isort
  - repo: https://github.com/psf/black
    hooks:
      - id: black
        exclude: bob/devtools/templates/setup.py
  - repo: https://gitlab.com/pycqa/flake8
    hooks:
      - id: 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
      - id: check-yaml
        exclude: .*/meta.*.yaml