Skip to content

Commit

Permalink
Update Pyright to version 1.1.356
Browse files Browse the repository at this point in the history
  • Loading branch information
WMOkiishi committed Mar 30, 2024
1 parent f2a9c57 commit 56cc4a0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/typecheck_scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ jobs:
uses: jakebailey/pyright-action@v1
with:
extra-args: idbstubs tests
version: 1.1.344
version: 1.1.356
python-version: '3.12'
2 changes: 1 addition & 1 deletion .github/workflows/typecheck_stubs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ jobs:
uses: jakebailey/pyright-action@v1
with:
extra-args: src
version: 1.1.344
version: 1.1.356
python-version: ${{ matrix.python-version }}
4 changes: 4 additions & 0 deletions idbstubs/special_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,14 +401,18 @@ def log_unused() -> None:
'LPlanef::operator *=': 'type: ignore[override]',
'LPlanef::operator *': 'type: ignore[override]',
'LPlanef::project': 'type: ignore[override]',
'LQuaterniond::__pow__': 'pyright: ignore[reportIncompatibleMethodOverride]',
'LQuaterniond::operator *': 'type: ignore[override]',
'LQuaterniond::operator *=': 'type: ignore[misc, override]',
'LQuaterniond::output': 'pyright: ignore[reportIncompatibleMethodOverride]',
'LQuaternionf::__pow__': 'pyright: ignore[reportIncompatibleMethodOverride]',
'LQuaternionf::operator *': 'type: ignore[override]',
'LQuaternionf::operator *=': 'type: ignore[misc, override]',
'LQuaternionf::output': 'pyright: ignore[reportIncompatibleMethodOverride]',
'LRotationd::operator *': 'type: ignore[override]',
('LRotationd::operator *', 2): 'pyright: ignore[reportIncompatibleMethodOverride]',
'LRotationf::operator *': 'type: ignore[override]',
('LRotationf::operator *', 2): 'pyright: ignore[reportIncompatibleMethodOverride]',
'LightNode': 'type: ignore[misc]',
'LightLensNode': 'type: ignore[misc]',
'MouseWatcher': 'type: ignore[misc]',
Expand Down
8 changes: 4 additions & 4 deletions src/panda3d-stubs/core/_linmath.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -4868,7 +4868,7 @@ class LQuaternionf(LVecBase4f):
def __mul__(self, scalar: float) -> LQuaternionf: ...
def __truediv__(self, scalar: float) -> LQuaternionf: ...
def __imul__(self, param0: Vec4Like, /) -> Self: ... # type: ignore[misc, override]
def __pow__(self, param0: float, /) -> LQuaternionf:
def __pow__(self, param0: float, /) -> LQuaternionf: # pyright: ignore[reportIncompatibleMethodOverride]
"""Returns a new quaternion that represents this quaternion raised to the
given power.
"""
Expand Down Expand Up @@ -5070,7 +5070,7 @@ class LQuaterniond(LVecBase4d):
def __mul__(self, scalar: float) -> LQuaterniond: ...
def __truediv__(self, scalar: float) -> LQuaterniond: ...
def __imul__(self, param0: DoubleVec4Like, /) -> Self: ... # type: ignore[misc, override]
def __pow__(self, param0: float, /) -> LQuaterniond:
def __pow__(self, param0: float, /) -> LQuaterniond: # pyright: ignore[reportIncompatibleMethodOverride]
"""Returns a new quaternion that represents this quaternion raised to the
given power.
"""
Expand Down Expand Up @@ -5277,7 +5277,7 @@ class LRotationf(LQuaternionf):
@overload
def __mul__(self, other: Vec4Like) -> LQuaternionf: ...
@overload
def __mul__(self, scalar: float) -> LRotationf: ...
def __mul__(self, scalar: float) -> LRotationf: ... # pyright: ignore[reportIncompatibleMethodOverride]
def __truediv__(self, scalar: float) -> LRotationf: ...

class LRotationd(LQuaterniond):
Expand Down Expand Up @@ -5307,7 +5307,7 @@ class LRotationd(LQuaterniond):
@overload
def __mul__(self, other: DoubleVec4Like) -> LQuaterniond: ...
@overload
def __mul__(self, scalar: float) -> LRotationd: ...
def __mul__(self, scalar: float) -> LRotationd: ... # pyright: ignore[reportIncompatibleMethodOverride]
def __truediv__(self, scalar: float) -> LRotationd: ...

class LOrientationf(LQuaternionf):
Expand Down

0 comments on commit 56cc4a0

Please sign in to comment.