-
Notifications
You must be signed in to change notification settings - Fork 17
Unnecessary pass #475
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
Unnecessary pass #475
Conversation
sbol3/property_base.py
Outdated
@@ -55,7 +55,7 @@ def item_added(self, item: Any) -> None: | |||
any additional processing on items after they are added. This method | |||
will be called on each individual item that was added to the list. | |||
""" | |||
pass | |||
pass # pylint: disable=unnecessary-pass |
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.
I assume there's a reason this pass
can't be removed. Is that the case? If so, should an explanatory comment be added?
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.
Sorry, I forgot that we could remove the pass keyword from methods too, and it was just redundant here.
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.
The # pass # pylint: disable=unnecessary-pass
at line 58 of property_base.py
should be removed.
Done, thank you |
Removed pass statement, and disabled plint warning for stub method
item_added
in property_base.py#433