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
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.