From 8a0ea5af42bae180c6a70f657fe653bdb6355f45 Mon Sep 17 00:00:00 2001 From: Carlos Camara Date: Sat, 13 Jan 2024 16:20:38 +0000 Subject: [PATCH] Replace pylint with a hook and update hook versions --- .pre-commit-config.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 60ee12c97..deb0d55c7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.5.0 hooks: - id: trailing-whitespace types: [file, text] @@ -10,18 +10,15 @@ repos: - id: check-case-conflict - id: check-yaml - repo: https://github.com/psf/black - rev: 22.12.0 + rev: 23.12.1 hooks: - id: black types: [python] - - repo: local + - repo: https://github.com/PyCQA/pylint + rev: v3.0.3 hooks: - id: pylint - args: ["--rcfile=.pylintrc"] - name: Pylint - entry: python -m pylint - language: system - files: \.py$ + types: [python] - repo: local hooks: - id: pytest