repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.5.0 # Use the ref you want to point at hooks: - id: trailing-whitespace types: [file, text] - id: end-of-file-fixer types: [python] - id: requirements-txt-fixer - id: mixed-line-ending types: [python] args: [--fix=no] - id: check-added-large-files args: [--maxkb=1024] - repo: https://github.com/psf/black rev: 19.10b0 hooks: - id: black types: [python] additional_dependencies: ['click==8.0.4'] - repo: https://gitlab.com/pycqa/flake8.git rev: 3.7.9 hooks: - id: flake8 types: [python] - repo: https://github.com/adrienverge/yamllint rev: v1.23.0 hooks: - id: yamllint