Skip to content

pylint: Fix linter issues related to pylint>=4.0.0#565

Merged
bdrung merged 1 commit intomainfrom
oreiche/fix-linter-issues
Mar 25, 2026
Merged

pylint: Fix linter issues related to pylint>=4.0.0#565
bdrung merged 1 commit intomainfrom
oreiche/fix-linter-issues

Conversation

@oreiche
Copy link
Copy Markdown
Contributor

@oreiche oreiche commented Mar 25, 2026

test_ui.py:
Fix name style for function constants, which are deliberately not
considered constants anymore.

apport-valgrind:
Remove contradicting control messages, which also triggers a false
positive "useless-suppression" warning.

kernel_oops:
Remove invalid-name suppression, as the new pylint now correctly
identifies those variables not to be constants.

test_signal_crashes.py and test_recoverable_problem.py:
Remove Useless suppression of 'inconsistent-return-statements'
(issue since pylint>=4.0.5)

test_hookutils.py:
Remove useless suppression of 'line-too-long'
(general issue)

CI: Bump linter container to resolute

@oreiche oreiche requested a review from bdrung March 25, 2026 15:39
test_ui.py:
  Fix name style for function constants, which are deliberately not
  considered constants anymore.

apport-valgrind:
  Remove contradicting control messages, which also triggers a false
  positive "useless-suppression" warning.

kernel_oops:
  Remove invalid-name suppression, as the new pylint now correctly
  identifies those variables not to be constants.

test_signal_crashes.py and test_recoverable_problem.py:
  Remove Useless suppression of 'inconsistent-return-statements'
  (issue since pylint>=4.0.5)

test_hookutils.py:
  Remove useless suppression of 'line-too-long'
  (general issue)

CI: Bump linter container to resolute
@oreiche oreiche force-pushed the oreiche/fix-linter-issues branch from 5d35a13 to 0f6c20f Compare March 25, 2026 15:50
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.41%. Comparing base (5fe5468) to head (0f6c20f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #565      +/-   ##
==========================================
- Coverage   84.42%   84.41%   -0.01%     
==========================================
  Files         104      104              
  Lines       20901    20901              
  Branches     3265     3265              
==========================================
- Hits        17645    17644       -1     
  Misses       2817     2817              
- Partials      439      440       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bdrung bdrung merged commit 0f6c20f into main Mar 25, 2026
37 checks passed
@bdrung bdrung deleted the oreiche/fix-linter-issues branch March 25, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants