Newer
Older
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-added-large-files
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.5.1
hooks:
- id: python-no-eval
- id: python-no-log-warn
- id: python-use-type-annotations
- repo: https://github.com/hakancelik96/unimport
rev: v0.2.7
hooks:
- id: unimport
args: [--remove, --exclude=__init__.py]
- repo: https://github.com/timothycrosley/isort
rev: 4.3.21-2
hooks:
- id: isort
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
hooks:
- id: flake8
args: ["--config=setup.cfg"]
additional_dependencies:
- flake8-commas
- flake8-copyright
- flake8-bugbear
- flake8-docstrings
- flake8-print
- flake8-requirements
- flake8-return
- flake8-sfs
- flake8-tabs
- repo: https://code.kodo.org.uk/dom/pre-commit-pylint
rev: v0.1
hooks:
- id: pylint
args: [--extras=test, --fail-under=9.0]