Skip to content

improving type hints and usage of abc#259

Merged
CunliangGeng merged 18 commits into
devfrom
improve_typing_abc
Jun 20, 2024
Merged

improving type hints and usage of abc#259
CunliangGeng merged 18 commits into
devfrom
improve_typing_abc

Conversation

@CunliangGeng

@CunliangGeng CunliangGeng commented Jun 17, 2024

Copy link
Copy Markdown
Member

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 requested a review from gcroci2 June 18, 2024 09:24
@CunliangGeng CunliangGeng self-assigned this Jun 18, 2024
@CunliangGeng CunliangGeng marked this pull request as ready for review June 18, 2024 09:24
@sonarqubecloud

Copy link
Copy Markdown

@gcroci2 gcroci2 left a comment

Copy link
Copy Markdown
Contributor

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

CunliangGeng commented Jun 20, 2024

Copy link
Copy Markdown
Member Author

Merge activity

@CunliangGeng CunliangGeng merged commit 6c78c20 into dev Jun 20, 2024
@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