Closed sherbang closed 2 months ago
@sherbang thanks for spotting this omission and taking the time for this PR 👍
I've started the CI process, which will probably give an error on test coverage. Could you add a simple test in test_date.py
to test this new method?
I also see that isort
reported an error. You can run make format
to run isort
and black
and fix this.
The pypy3.8 error is unrelated and due to some pytest issue
I added a test, and fixed the formatting. Thanks!
Thanks @sherbang for your contribution! 🚀
release 0.5.2 is now out with your addition!
Description
Simple addition of
Date.from_py_date
, matching the API of the datetime classes.Checklist
Release checklist (maintainers only)
pyproject.toml
src/whenever/__init__.py