Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix false positive unused-private-member if class member is accessed via self #4645

Merged

Conversation

Pierre-Sassoulas
Copy link
Member

Description

The self was forgotten. Also made some small refactor around it following comment made in #4642

Type of Changes

Type
βœ“ πŸ› Bug fix
βœ“ πŸ”¨ Refactoring

Related Issue

Closes #4644

@Pierre-Sassoulas Pierre-Sassoulas added the False Positive 🦟 A message is emitted but nothing is wrong with the code label Jul 1, 2021
@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.9.2 milestone Jul 1, 2021
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.006%) to 92.038% when pulling 1ae9088 on Pierre-Sassoulas:unused-private-member-v2 into cec5b17 on PyCQA:main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
False Positive 🦟 A message is emitted but nothing is wrong with the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

False positive unused-private-member if class member is accessed via self
2 participants