Fix dotenv support with override (#625)
Some checks failed
test / linux (3.10) (push) Has been cancelled
test / linux (3.11) (push) Has been cancelled
test / linux (3.12) (push) Has been cancelled
test / linux (3.13) (push) Has been cancelled
test / linux (3.14) (push) Has been cancelled
test / linux (3.9) (push) Has been cancelled
test / linux (pypy3.11) (push) Has been cancelled
test / linux (3.13t) (push) Has been cancelled
test / linux (3.14t) (push) Has been cancelled
test / macos (3.10) (push) Has been cancelled
test / macos (3.11) (push) Has been cancelled
test / macos (3.12) (push) Has been cancelled
test / macos (3.13) (push) Has been cancelled
test / macos (3.14) (push) Has been cancelled
test / macos (3.9) (push) Has been cancelled
test / macos (3.13t) (push) Has been cancelled
test / macos (3.14t) (push) Has been cancelled
test / windows (3.10) (push) Has been cancelled
test / windows (3.11) (push) Has been cancelled
test / windows (3.12) (push) Has been cancelled
test / windows (3.13) (push) Has been cancelled
test / windows (3.13t) (push) Has been cancelled
test / windows (3.14) (push) Has been cancelled
test / windows (3.14t) (push) Has been cancelled
test / windows (3.9) (push) Has been cancelled

This commit is contained in:
Khaleel Al-Adhami 2025-07-01 13:40:45 -07:00 committed by GitHub
parent 47853826c4
commit 3f0bbd271d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,4 +68,4 @@ def load_target(target: str, wd: Optional[str] = None, factory: bool = False) ->
def load_env(files):
for env_file in files:
dotenv.load_dotenv(dotenv_path=env_file)
dotenv.load_dotenv(dotenv_path=env_file, override=True)