You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Spurious "Cannot inherit non-frozen dataclass from a frozen one" #14952
I'll produce a MWE when I have more time, but this is error is happening on all my projects that use dataclass_transform with frozen=True. For example, https://github.com/NeilGirdhar/tjax/
Simply clone, and run MyPy twice. Thus, it appears there's something missing from or wrongly added to the MyPy cache.
tjax/_src/fixed_point/simple_scan.py: note: In class "SimpleScan":
tjax/_src/fixed_point/simple_scan.py:15: error: Cannot inherit non-frozen dataclass from a frozen one [misc]
class SimpleScan(IteratedFunctionBase[Parameters, State, Trajectory, State],
...
Activity