python-setup: Apply suggestions from code review
This commit is contained in:
parent
7fc528c3c6
commit
27c1438455
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ def install_packages_with_poetry():
|
||||||
# Projects that specify `in-project = true` in their poetry.toml would get the
|
# Projects that specify `in-project = true` in their poetry.toml would get the
|
||||||
# venv created inside the repo directory, which would cause CodeQL to consider
|
# venv created inside the repo directory, which would cause CodeQL to consider
|
||||||
# it as user-written code. We don't want this to happen.
|
# it as user-written code. We don't want this to happen.
|
||||||
|
# see https://python-poetry.org/docs/configuration/#virtualenvsin-project
|
||||||
"POETRY_VIRTUALENVS_IN_PROJECT": "False",
|
"POETRY_VIRTUALENVS_IN_PROJECT": "False",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue