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

Typing, linter fixes, splitting up code into files #80

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

bmos
Copy link
Contributor

@bmos bmos commented Jan 9, 2025

This changes from the MixIn pattern to direct inheritance (since it only inherits from one class) and adds type hints to pretty much every arg and return. Since the MixIn was not combining many classes, this should work just as well and it's better supported by the 'magic' of modern IDEs.

It passes the limited pytest implementation, but I'm not so familiar with this module and it's quite likely that this could break things. So I'd advise against merging it without doing at least some basic tests yourself.

It also allows use with python 3.13.

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