Skip to content

Commit f6ede6f

Browse files
Add threading option to basedpyright checks (langgenius#27203)
1 parent 65976b2 commit f6ede6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎dev/basedpyright-check‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ PATH_TO_CHECK="$1"
1010

1111
# run basedpyright checks
1212
if [ -n "$PATH_TO_CHECK" ]; then
13-
uv run --directory api --dev basedpyright "$PATH_TO_CHECK"
13+
uv run --directory api --dev -- basedpyright --threads $(nproc) "$PATH_TO_CHECK"
1414
else
15-
uv run --directory api --dev basedpyright
15+
uv run --directory api --dev -- basedpyright --threads $(nproc)
1616
fi

0 commit comments

Comments
 (0)