Follow

Tests for my code must have 100% coverage, that is, make sure every line of the code is run at least once. This can be achieved by using coverage.py with tox.

The article also talks about preparing and uploading the package to PyPi using Poetry, pretty formatting using black, creating release tags on Github, CI/CD using Github Actions, and adding badges to README.md.

mathspp.com/blog/how-to-create

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.