Skip to content

Commit 8f9ab02

Browse files
Print python executable used with mypy check (#117)
1 parent 9c93ded commit 8f9ab02

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

aoc-main/mise.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ depends = [
1010
]
1111

1212
[tasks."check:mypy"]
13-
run = "mypy --python-executable $(uv python find) ."
13+
run = """
14+
# Run mypy
15+
pythonExecutable=$(uv python find)
16+
echo "Running mypy with python executable: ${pythonExecutable}"
17+
mypy --python-executable "${pythonExecutable}" .
18+
"""
1419

1520
[tasks."check:pyright"]
1621
run = "uv run pyright"

solvers/python/mise.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ depends = [
1010
]
1111

1212
[tasks."check:mypy"]
13-
run = "mypy --python-executable $(uv python find) ."
13+
run = """
14+
# Run mypy
15+
pythonExecutable=$(uv python find)
16+
echo "Running mypy with python executable: ${pythonExecutable}"
17+
mypy --python-executable "${pythonExecutable}" .
18+
"""
1419

1520
[tasks."check:pyright"]
1621
run = "uv run pyright"

0 commit comments

Comments
 (0)