Skip to content

Conversation

@Pierre-Sassoulas
Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas commented Oct 8, 2025

Type of Changes

Type
βœ“ πŸ› Bug fix

Description

Closes #10627

@Pierre-Sassoulas Pierre-Sassoulas added this to the 4.0.0 milestone Oct 8, 2025
@Pierre-Sassoulas Pierre-Sassoulas added the Crash πŸ’₯ A bug that makes pylint crash label Oct 8, 2025
@Pierre-Sassoulas Pierre-Sassoulas changed the title [fix] 'unnecessary-dict-index-lookup' for in-loop deletetion [fix] unnecessary-dict-index-lookup for in-loop deletion of an index from enumerate Oct 8, 2025
@codecov
Copy link

codecov bot commented Oct 8, 2025

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 95.96%. Comparing base (a0bfd3f) to head (371c91b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main   #10628   +/-   ##
=======================================
  Coverage   95.96%   95.96%           
=======================================
  Files         176      176           
  Lines       19517    19517           
=======================================
  Hits        18729    18729           
  Misses        788      788           
Files with missing lines Coverage Ξ”
pylint/checkers/refactoring/refactoring_checker.py 98.22% <ΓΈ> (ΓΈ)
πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2025

πŸ€– According to the primer, this change has no effect on the checked open source code. πŸ€–πŸŽ‰

This comment was generated for commit 371c91b

@Pierre-Sassoulas Pierre-Sassoulas merged commit 9d4f550 into pylint-dev:main Oct 9, 2025
44 checks passed
@jacobtylerwalls jacobtylerwalls removed their request for review October 9, 2025 13:58
@Pierre-Sassoulas Pierre-Sassoulas deleted the fix-index-lookup-crash branch October 10, 2025 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Crash πŸ’₯ A bug that makes pylint crash

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IndexError: list index out of range in unnecessary-list-index-lookup checker

2 participants