Is there a way for pants to read in a `.env` file ...
# general
w
Is there a way for pants to read in a
.env
file as environment variables when running an integration test? Or do I need to add it as a file target and load via python-dotenv?
w
yea, will need it as part of a
file
target
👍 1
you can also hardcode environment variables for tests via
[test] extra_env_vars
… but not slurp them from a file that way
w
Got it. Thanks!