Commit 66f0aac
authored
fix: resolve pylint config errors breaking super-linter (#408)
## 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 <jmeridth@gmail.com>1 parent cf2d41d commit 66f0aac
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | 106 | | |
111 | 107 | | |
112 | 108 | | |
| |||
437 | 433 | | |
438 | 434 | | |
439 | 435 | | |
| 436 | + | |
440 | 437 | | |
441 | 438 | | |
442 | 439 | | |
| |||
0 commit comments