python-setup: Apply suggestions from code review

This commit is contained in:
Rasmus Wriedt Larsen 2022-12-06 11:32:21 +01:00 committed by GitHub
parent 7fc528c3c6
commit 27c1438455
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,6 +41,7 @@ def install_packages_with_poetry():
# 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
# 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",
}