repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.3.0 hooks: - id: check-yaml - id: end-of-file-fixer - id: trailing-whitespace - id: requirements-txt-fixer - repo: https://github.com/pre-commit/mirrors-mypy rev: "v0.812" hooks: - id: mypy additional_dependencies: - pydantic - repo: https://github.com/asottile/pyupgrade rev: v2.10.0 hooks: - id: pyupgrade - repo: https://github.com/hadialqattan/pycln rev: v0.0.1-beta.3 # Possible releases: https://github.com/hadialqattan/pycln/tags hooks: - id: pycln - repo: https://github.com/PyCQA/bandit rev: '1.7.0' hooks: - id: bandit - repo: https://github.com/PyCQA/isort rev: 5.7.0 hooks: - id: isort args: ["--profile", "black", "--filter-files"] - repo: https://github.com/psf/black rev: 19.3b0 hooks: - id: black