From 44064199b67267a5e4b6e319b6537fe3d98918c2 Mon Sep 17 00:00:00 2001 From: gmuloc Date: Wed, 2 Oct 2024 14:47:19 +0200 Subject: [PATCH] ci: Update pylint --- .pre-commit-config.yaml | 2 +- j2lint/linter/error.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3fbaf67..eaed8f1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -50,7 +50,7 @@ repos: types: [python] - repo: https://github.com/pycqa/pylint - rev: v3.2.7 + rev: v3.3.1 hooks: - id: pylint # Use pylintrc file in repository name: Check for Linting error on Python files diff --git a/j2lint/linter/error.py b/j2lint/linter/error.py index 2a70f98..c96d190 100644 --- a/j2lint/linter/error.py +++ b/j2lint/linter/error.py @@ -27,7 +27,7 @@ def __init__( rule: Rule, message: str | None = None, ) -> None: - # pylint: disable=too-many-arguments + # pylint: disable=too-many-arguments,too-many-positional-arguments self.line_number = line_number self.line = line self.filename = filename