Open bswck opened 1 year ago
Hi, some thoughts about these:
For pytest, at a glance I don't see how it would improve dx for this project. Do you have any particular features in mind?
About (4), I think as long as you import from __future__ importannotations
, you should be able to use the new syntax just fine, we use it on berserk and support 3.8
It can actually work even for type hints evaluated at runtime since https://github.com/alexmojaki/eval_type_backport.
.format()
and f-string methods are used)Some algorithms do need logic refactoring, for instance
https://github.com/niklasf/python-chess/blob/f76c387ef9c68555a08b1629b56655d85f86d949/chess/syzygy.py#L323-L352
which could simply be truncated into
I'll work on those enhancements soon. Please let me know what you think about migrating to poetry and maybe possibly migrating tests to pytest to make them easier to read and work with. @niklasf