update pyright once again

This commit is contained in:
Khaleel Al-Adhami 2025-01-02 15:20:03 -08:00
parent 99a3090784
commit a5526afaeb
3 changed files with 496 additions and 512 deletions

1004
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -57,7 +57,7 @@ typing_extensions = ">=4.6.0"
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]
pytest = ">=7.1.2,<9.0" pytest = ">=7.1.2,<9.0"
pytest-mock = ">=3.10.0,<4.0" pytest-mock = ">=3.10.0,<4.0"
pyright = ">=1.1.229,<=1.1.390" pyright = ">=1.1.229,<=1.1.391"
darglint = ">=1.8.1,<2.0" darglint = ">=1.8.1,<2.0"
dill = ">=0.3.8" dill = ">=0.3.8"
toml = ">=0.10.2,<1.0" toml = ">=0.10.2,<1.0"

View File

@ -777,7 +777,7 @@ class LiteralSliceVar(CachedVarOperation, LiteralVar, SliceVar):
Returns: Returns:
The name of the var. The name of the var.
""" """
return f"[{str(LiteralVar.create(self._var_value.start))}, {str(LiteralVar.create(self._var_value.stop))}, {str(LiteralVar.create(self._var_value.step))}]" return f"[{LiteralVar.create(self._var_value.start)!s}, {LiteralVar.create(self._var_value.stop)!s}, {LiteralVar.create(self._var_value.step)!s}]"
@cached_property_no_lock @cached_property_no_lock
def _cached_get_all_var_data(self) -> VarData | None: def _cached_get_all_var_data(self) -> VarData | None: