diff --git a/pyproject.toml b/pyproject.toml index b39561c7907..6fdb889bc70 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,7 @@ test = [ # pin type-checkers so a new version doesn't suddenly cause the CI to fail, # until types-setuptools is removed from typeshed. # For help with static-typing issues, or mypy/pyright update, ping @Avasam - "pyright == 1.1.376", + "pyright == 1.1.377", "mypy==1.11.*", # No Python 3.11 dependencies require tomli, but needed for type-checking since we import it directly "tomli", diff --git a/tox.ini b/tox.ini index d3c915b478b..ef4185e3d79 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,7 @@ setenv = PYTHONWARNDEFAULTENCODING = 1 SETUPTOOLS_ENFORCE_DEPRECATION = {env:SETUPTOOLS_ENFORCE_DEPRECATION:1} commands = - pyright . + pyright --threads pytest {posargs} usedevelop = True extras =