mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 11:22:24 +01:00
Updates for development environment (#8801)
This commit is contained in:
@@ -7,11 +7,7 @@ import sys
|
||||
|
||||
|
||||
def find_and_activate_virtualenv():
|
||||
if (
|
||||
("VIRTUAL_ENV" in os.environ)
|
||||
or os.environ.get("DEVCONTAINER")
|
||||
or os.environ.get("ESPHOME_NO_VENV")
|
||||
):
|
||||
if "VIRTUAL_ENV" in os.environ:
|
||||
return
|
||||
|
||||
try:
|
||||
|
Reference in New Issue
Block a user