Closed houbie closed 6 months ago
Thanks for the report. Would you be willing to submit a pull request to fix the issue?
I'll give it a try...
pre-commit is giving errors :(
I could modernise the python setup like this, guaranteeing reproducible builds. This would also relieve potential contributors from having to manually install tools like pre-commit, black, etc., and they can't forget to run pre-commit install
anymore.
Would consider such a pull request?
Sure, that would be awesome!
I created a draft PR that sets up tooling and fixes the type hints, but I suggest to take it further:
These changes would require python >=3.8, meaning that 3.7 can't be tested anymore (although the lib can still be used with 3.7) Let me know what you think of it
I'm okay with dropping support for py3.7.
finished the PR:
./pw flit publish
using settings from ~/.pypirc
Exclude is defined as:
exclude: Sequence[Type[ExceptionType]] | None = None,
but it can also be a callable. Mypy complains about following code (when not ignoring the type error):