mirror of
https://github.com/github/codeql-action.git
synced 2025-12-26 17:20:10 +08:00
python-setup: Apply suggestions from code review
This commit is contained in:
committed by
GitHub
parent
7fc528c3c6
commit
27c1438455
@@ -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",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user