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

improving type hints and usage of abc #259

Merged
merged 18 commits into from
Jun 20, 2024
Merged

improving type hints and usage of abc #259

merged 18 commits into from
Jun 20, 2024

Conversation

CunliangGeng
Copy link
Member

@CunliangGeng CunliangGeng commented Jun 17, 2024

Quite some small misc changes, better to review by commits.

Base automatically changed from add_pickling to dev June 17, 2024 13:41
Registering as virtual class can avoid metclass conflicts. However, it's not an issue we need to worry in this codebase, since all concrete classes, e.g. AntismashBGCLoader,   inherit only one base class instead of multiple classes that have different metaclasses.

Using inheritance of abstract class is more straightforward and explict.
@CunliangGeng CunliangGeng mentioned this pull request Jun 18, 2024
@CunliangGeng CunliangGeng self-assigned this Jun 18, 2024
@CunliangGeng CunliangGeng marked this pull request as ready for review June 18, 2024 09:24
Copy link

sonarcloud bot commented Jun 18, 2024

Copy link
Contributor

@gcroci2 gcroci2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We reviewed it together live

Copy link
Member Author

CunliangGeng commented Jun 20, 2024

Merge activity

@CunliangGeng CunliangGeng merged commit 6c78c20 into dev Jun 20, 2024
8 of 10 checks passed
@CunliangGeng CunliangGeng deleted the improve_typing_abc branch June 20, 2024 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants