Replies: 1 comment
-
I assume the rule should cover all cases where a class uses slots. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to propose a new rule for linter, catch
functools.cached_property
used withdataclass(slots=True)
.This code fails in runtime with:
If
slots=True
was used, then the usage offunctools.cached_property
should be suppressed.Beta Was this translation helpful? Give feedback.
All reactions