[ty] Add a diagnostic for non-decorator uses of final#22555
[ty] Add a diagnostic for non-decorator uses of final#22555charliermarsh merged 2 commits intomainfrom
Conversation
Diagnostic diff on typing conformance testsNo changes detected when running ty on typing conformance tests ✅ |
|
495ad25 to
aaa267a
Compare
|
Woah, trio actually uses this? https://github.com/python-trio/trio/blob/01243945fc3d46d4483acf486177389e59fdc6b6/src/trio/_util.py#L255 |
aaa267a to
e27118f
Compare
110383f to
791324d
Compare
e27118f to
5dbf699
Compare
the runtime decorator attempts to set a |
carljm
left a comment
There was a problem hiding this comment.
Looks good, modulo the comment about making sure our rule description is accurate.
791324d to
7f77f5d
Compare
5dbf699 to
a466181
Compare
Summary
See: #22499 (comment).