Skip to content

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

Merged
merged 7 commits into from
Mar 26, 2025
Merged

Unnecessary pass #475

merged 7 commits into from
Mar 26, 2025

Conversation

GeneCodeSavvy
Copy link
Contributor

Removed pass statement, and disabled plint warning for stub method item_added in property_base.py
#433

@@ -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
Copy link
Collaborator

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?

Copy link
Contributor Author

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.

Copy link
Collaborator

@tcmitchell tcmitchell left a 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.

@GeneCodeSavvy
Copy link
Contributor Author

Done, thank you

@tcmitchell tcmitchell merged commit 4e5ba66 into SynBioDex:main Mar 26, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants