At the moment, I have 32% coverage of my library when testing my code using coverage, due to coverage, measuring coverage of e.g. numpy, scipy, and other imported Python libraries.
The command I am using is
coverage run -m pytest -v tests/
Is there a way to exclude running test coverage for imported packages?
Thank you for your help.