Closed nickdrozd closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.80%. Comparing base (
8630cfd
) to head (208b434
). Report is 4 commits behind head on main.
🤖 According to the primer, this change has no effect on the checked open source code. 🤖🎉
This comment was generated for commit 208b43483c6b1719131579ea87beae3d80b5c0cc
Type of Changes
Description
The variables checker contains some really complicated code (complicated in a bad way). It is difficult to understand and therefore difficult to modify. I became keenly aware of this over the course of several failed attempts to implement https://github.com/pylint-dev/pylint/pull/9964. The complicatedness of this code may also account for why https://github.com/pylint-dev/pylint/issues/8893 remains open.
This MR makes a few minor changes in the direction of cleaning up the variables checker. It should make no functional difference.
There are more changes that need to be made, but it preferable that MRs be small. So this is the first of several.
Each commit makes one specific change, so the commits should be reviewed one at a time.