@@ -39,17 +39,23 @@ def value(self) -> V: ...
3939 def unit (self ) -> U : ...
4040
4141 ### Dunder Methods
42- def __ne__ [B ](self : "Quantity[V, U]" , other : "Quantity[op.CanEq[V, B], U]" , / ) -> B : ...
43- def __lt__ [B ](self : "Quantity[V, U]" , other : "Quantity[op.CanOrd[V, B], U]" , / ) -> B : ...
44- def __le__ [B ](self : "Quantity[V, U]" , other : "Quantity[op.CanOrd[V, B], U]" , / ) -> B : ...
45- def __gt__ [B ](self : "Quantity[V, U]" , other : "Quantity[op.CanOrd[V, B], U]" , / ) -> B : ...
46- def __ge__ [B ](self : "Quantity[V, U]" , other : "Quantity[op.CanOrd[V, B], U]" , / ) -> B : ...
42+
43+ @override
44+ def __eq__ [B ](self : "Quantity[V, U]" , other : "Quantity[op.CanEq[V, B], U]" , / ) -> B : ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
45+
46+ @override
47+ def __ne__ [B ](self : "Quantity[V, U]" , other : "Quantity[op.CanEq[V, B], U]" , / ) -> B : ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
48+
49+ def __lt__ [B ](self : "Quantity[V, U]" , other : "Quantity[op.CanLt[V, B], U]" , / ) -> B : ...
50+ def __le__ [B ](self : "Quantity[V, U]" , other : "Quantity[op.CanLe[V, B], U]" , / ) -> B : ...
51+ def __gt__ [B ](self : "Quantity[V, U]" , other : "Quantity[op.CanGt[V, B], U]" , / ) -> B : ...
52+ def __ge__ [B ](self : "Quantity[V, U]" , other : "Quantity[op.CanGe[V, B], U]" , / ) -> B : ...
4753
4854 def __pos__ [R ](self : "Quantity[op.CanPos[R], U]" ) -> "Quantity[R, U]" : ...
4955 def __neg__ [R ](self : "Quantity[op.CanNeg[R], U]" ) -> "Quantity[R, U]" : ...
5056 def __abs__ [R ](self : "Quantity[op.CanAbs[R], U]" ) -> "Quantity[R, U]" : ...
5157
52- def __add__ [R ](self : "Quantity[V, U]" , other : "Quantity[op.CanRAdd[V, R], U" , / ) -> "Quantity[R, U]" : ...
58+ def __add__ [R ](self : "Quantity[V, U]" , other : "Quantity[op.CanRAdd[V, R], U] " , / ) -> "Quantity[R, U]" : ...
5359 def __radd__ [R ](self : "Quantity[V, U]" , other : "Quantity[op.CanAdd[V, R], U]" , / ) -> "Quantity[R, U]" : ...
5460 def __sub__ [R ](self : "Quantity[V, U]" , other : "Quantity[op.CanRSub[V, R], U]" , / ) -> "Quantity[R, U]" : ...
5561 def __rsub__ [R ](self : "Quantity[V, U]" , other : "Quantity[op.CanSub[V, R], U]" , / ) -> "Quantity[R, U]" : ...
@@ -60,5 +66,5 @@ def __truediv__[R](self: "Quantity[V, U]", other: "Quantity[op.CanRTruediv[V, R]
6066 def __rtruediv__ [R ](self : "Quantity[V, U]" , other : "Quantity[op.CanTruediv[V, R], U]" , / ) -> "Quantity[R, U]" : ...
6167
6268 def __pow__ [R ](self : "Quantity[op.CanPow2[int | float, R], U]" , other : int | float , / ) -> "Quantity[R, U]" : ...
63- def __rpow__ [R ](self : "Quantity[op.CanRPow2 [int | float, R], U]" , other : int | float , / ) -> "Quantity[R, U]" : ...
69+ def __rpow__ [R ](self : "Quantity[op.CanRPow [int | float, R], U]" , other : int | float , / ) -> "Quantity[R, U]" : ...
6470
0 commit comments