Posts Tagged: virtualenv
-
asdf Global vs Local Python Versions: When .tool-versions Breaks Your Virtual Environment
Fix broken virtual environments caused by asdf .tool-versions switching Python versions globally vs locally. Step-by-step guide to diagnose and resolve venv issues with asdf Python plugin.
-
pytest-cov: Excluding Virtual Environment and Migration Files from Coverage Reports
Configure .coveragerc to omit virtual environments (venv, .tox), migrations, and other non-source files from pytest-cov reports, focusing on application code. Includes configuration example and Django demo.