token-bucket
token-bucket copied to clipboard
modernize project
Hello everyone,
If you want to increase the next release version, this is very easy with hatch, e.g. hatch version minor,rc.
This are the main features in this PR:
- using hatch (PEP 621) to build the project
- format code with black and isort
- add typing
- declare python 3.11 support
- fix tests for pypy3.9
Hi @Wurstnase, and thanks for this PR! We totally missed it. It would probably be easier to ship this incrementally rather than in one big chunk, but we'll check what we can do about it anyway. We'll merge another smaller PR first that addresses 3.11-3.12.
I can split it, no problem. The freeze time commit needs some rework. I will make smaller PRs.