-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 a crash when looking up an __init__ method #7744
Conversation
…rom a parent class with an ``__init__`` class attribute. Closes pylint-dev#7742
Pull Request Test Coverage Report for Build 3452454525
💛 - Coveralls |
Merging upstream to fix primer following suggestion in #7738 (comment) |
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
@mbyrnepr2 The current job on |
I wonder if you also need to merge main. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
🤖 According to the primer, this change has no effect on the checked open source code. 🤖🎉 This comment was generated for commit 162fa65 |
* Fix a crash when a child class with an ``__init__`` method inherits from a parent class with an ``__init__`` class attribute. * `continue` if not a method. * Update pylint/checkers/classes/class_checker.py * Rename fragment Closes #7742 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* Fix a crash when a child class with an ``__init__`` method inherits from a parent class with an ``__init__`` class attribute. * `continue` if not a method. * Update pylint/checkers/classes/class_checker.py * Rename fragment Closes #7742 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
Type of Changes
Description
Fix a crash when a child class with an
__init__
method inherits from a parent class with an__init__
class attribute.Closes #7742