Brecht Ooms 257b033e8c Add Rotation return type hint to Rotation.__mul__()
Without this type hint, some tools (including PyCharm) infer the more
generic return type from typing.NamedTuple.
To improve user experience, I've added a narrower type hint.

However, the typing of this method is still 'flawed' as the only properly supported
input is another Rotation. This is a narrower input type and therefore
violates the Liskov substitution principle. Therefore I left the input
parameter untyped.

For more info:
https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
2024-12-11 12:48:02 +01:00
..
2024-06-26 16:10:18 -04:00
2024-08-01 11:18:19 +01:00
2024-09-25 12:55:43 -04:00
2024-09-05 09:56:38 +01:00