--- repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: - id: check-added-large-files - id: check-ast - id: check-case-conflict - id: check-merge-conflict - id: check-toml - id: check-yaml - id: check-vcs-permalinks - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/adrienverge/yamllint.git rev: v1.29.0 hooks: - id: yamllint args: [--strict] - repo: https://github.com/python-poetry/poetry rev: 'master' hooks: - id: poetry-check - id: poetry-install - id: poetry-lock - id: poetry-export - repo: https://github.com/psf/black rev: 23.9.1 hooks: - id: black - repo: https://github.com/pycqa/pydocstyle rev: 6.3.0 hooks: - id: pydocstyle - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.5.1 hooks: - id: mypy additional_dependencies: [types-requests] - repo: local hooks: - id: pylint name: pylint entry: pylint language: system types: [python] args: [ "-rn", # Only display messages "-sn", # Don't display the score ] - id: pytype name: pytype entry: poetry run pytype language: system types: [python] args: ["--keep-going"]