From 1e3bc5b7711f04e19c6e9bb471a8cfd432758029 Mon Sep 17 00:00:00 2001 From: jmeridth Date: Tue, 24 Feb 2026 17:17:28 -0600 Subject: [PATCH] fix: resolve pylint config errors breaking super-linter ## What Removed the deprecated `suggestion-mode` option from the pylint config and added `too-many-nested-blocks` to the disable list. ## Why The `suggestion-mode` option was removed in newer versions of pylint, causing an `E0015: Unrecognized option` error that fails the super-linter CI job. The `too-many-nested-blocks` violation in `merge_contributors` is pre-existing and consistent with the other `too-many-*` rules already disabled. ## Notes - The nested blocks issue in `contributor_stats.py:112` would benefit from a refactor (dict-based merge instead of nested loops) in a follow-up PR - These errors were hidden until super-linter upgraded its bundled pylint version - Saw these errors [here](https://github.com/github-community-projects/contributors/actions/runs/22372943481/job/64756293990?pr=394#step:5:488) - `suggestion-mode` was [removed in 4.0 of pylin](https://pylint.readthedocs.io/en/latest/whatsnew/4/4.0/index.html) Signed-off-by: jmeridth --- .github/linters/.python-lint | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/linters/.python-lint b/.github/linters/.python-lint index 5fad82e..fec6ded 100644 --- a/.github/linters/.python-lint +++ b/.github/linters/.python-lint @@ -103,10 +103,6 @@ recursive=no # source root. source-roots= -# When enabled, pylint would attempt to guess common misconfiguration and emit -# user-friendly hints instead of false-positive error messages. -suggestion-mode=yes - # Allow loading of arbitrary C extensions. Extensions are imported into the # active Python interpreter and may run arbitrary code. unsafe-load-any-extension=no @@ -437,6 +433,7 @@ disable=bad-inline-option, too-many-arguments, too-many-branches, too-many-locals, + too-many-nested-blocks, too-many-positional-arguments, too-many-statements, useless-suppression,