Skip to content

Commit 4d4bb14

Browse files
redsun82Copilot
andcommitted
Just: read python_version from env for nested just propagation
Use env("python_version", "3") so that when the parent just process exports the variable, nested just calls (via language_tests.py) pick it up. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5c41b1d commit 4d4bb14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ format *ARGS=".": (_format_ql ARGS)
55

66
consistency_queries := source_dir() / "consistency-queries"
77

8-
python_version := "3"
8+
python_version := env("python_version", "3")
99

1010
_v2_env := "CODEQL_EXTRACTOR_PYTHON_ANALYSIS_VERSION=2 CODEQL_PYTHON_LEGACY_TEST_EXTRACTION_VERSION=2"
1111
_v3_env := "CODEQL_PYTHON_LEGACY_TEST_EXTRACTION_VERSION=3"

0 commit comments

Comments
 (0)