From ad7b04cd1eba1fe318f611664fd021c7fb8b4005 Mon Sep 17 00:00:00 2001 From: gmuloc Date: Tue, 4 Jun 2024 15:41:12 +0200 Subject: [PATCH] CI: Make pylint not local --- .pre-commit-config.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 61c872cdc..6d0492824 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -51,11 +51,10 @@ repos: - id: ruff-format name: Run Ruff formatter - - repo: local # as per https://pylint.pycqa.org/en/latest/user_guide/installation/pre-commit-integration.html + - repo: https://github.com/pycqa/pylint + rev: "v3.2.0" hooks: - id: pylint - entry: pylint - language: python name: Check code style with pylint description: This hook runs pylint. types: [python] @@ -63,6 +62,12 @@ repos: - -rn # Only display messages - -sn # Don't display the score - --rcfile=pyproject.toml # Link to config file + additional_dependencies: + - anta[cli] + - types-PyYAML + - types-requests + - types-pyOpenSSL + - pytest - repo: https://github.com/codespell-project/codespell rev: v2.3.0