1
0
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:
Jesse Hills
2025-05-22 13:24:34 +12:00
committed by GitHub
parent 1466aa7703
commit bd7c2a680c
6 changed files with 44 additions and 17 deletions

View File

@@ -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: