You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Backport maintenance/4.0.x] fix: avoid false positive when module-level names match class-level names (#10753)
fix: avoid false positive when module-level names match class-level names (#10723)
Add scope comparision to avoid module-level constants to be incorrectly
classified as variables when a class-level attribute with the same name exists
Closes#10719
(cherry picked from commit e55e830)
Co-authored-by: Joao Faria <joaovitorfaria.dev@gmail.com>
Fixed false positive for ``invalid-name`` where module-level constants were incorrectly classified as variables when a class-level attribute with the same name exists.
0 commit comments