Open
Description
The Python extension looks for and loads the .env
file within a workspace, which loads those variables into the environment for tests and the integrated terminal. This feature should be made optional with a setting to turn it off. The .env
file in a workspace often is not the settings someone would like to use when running unit tests, so tests will fail with those settings. Without a way to turn it off, I have to either comment out the .env
file before running unit tests, or go to another terminal outside of VS Code to run my tests.
Please make the auto-loading of .env
files in a workspace optional with a setting to turn it off.