default_language_version: python: python3.9 repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.2.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace exclude: ^.*\.(md|rst)$ - id: debug-statements - id: mixed-line-ending args: [--fix=lf] - id: check-merge-conflict - repo: https://github.com/jorisroovers/gitlint rev: v0.13.1 hooks: - id: gitlint - repo: https://github.com/adrienverge/yamllint rev: v1.24.2 hooks: - id: yamllint - repo: https://github.com/ambv/black rev: 20.8b1 hooks: - id: black types: [python] - repo: https://github.com/pre-commit/mirrors-isort rev: v5.4.2 hooks: - id: isort additional_dependencies: ["isort[pyproject]"]