File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 26
26
python-version : ["3.10", "3.13"]
27
27
env :
28
28
UV_PYTHON : ${{ matrix.python-version }}
29
+ PYRIGHT_PYTHON : ${{ matrix.python-version }}
29
30
steps :
30
31
- uses : actions/checkout@v4
31
32
Original file line number Diff line number Diff line change @@ -34,10 +34,12 @@ lint: ## Lint the code
34
34
uv run ruff format --check
35
35
uv run ruff check
36
36
37
+ PYRIGHT_PYTHON ?= 3.10
38
+
37
39
.PHONY : typecheck-pyright
38
40
typecheck-pyright :
39
41
@# PYRIGHT_PYTHON_IGNORE_WARNINGS avoids the overhead of making a request to github on every invocation
40
- PYRIGHT_PYTHON_IGNORE_WARNINGS=1 uv run pyright
42
+ PYRIGHT_PYTHON_IGNORE_WARNINGS=1 uv run pyright --pythonversion $( PYRIGHT_PYTHON )
41
43
42
44
.PHONY : typecheck-mypy
43
45
typecheck-mypy :
You can’t perform that action at this time.
0 commit comments