You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a CI pipeline template that runs hatch run lint:run and I am not in a position to change this template to instead just use hatch fmt --check directly (which relies on the hatch-static-analysis environment). As you can see, the lint environment inherits from hatch-static-analysis, so it is two levels down from the default environment where I define the UV_INDEX_MY_INDEX_PASSWORD used to authenticate to the Python package index with uv. Unfortunately, this environment variable is not accessible in the lint environment so I must duplicate the env-vars section there to make it work but I do not want to do that.
Is there a way around this?
The text was updated successfully, but these errors were encountered:
I have the following in my
pyproject.toml
:I am using a CI pipeline template that runs
hatch run lint:run
and I am not in a position to change this template to instead just usehatch fmt --check
directly (which relies on thehatch-static-analysis
environment). As you can see, thelint
environment inherits fromhatch-static-analysis
, so it is two levels down from thedefault
environment where I define theUV_INDEX_MY_INDEX_PASSWORD
used to authenticate to the Python package index withuv
. Unfortunately, this environment variable is not accessible in thelint
environment so I must duplicate theenv-vars
section there to make it work but I do not want to do that.Is there a way around this?
The text was updated successfully, but these errors were encountered: