Skip to content

Commit 8c62dd2

Browse files
petercorkeclaude
andcommitted
test: annotate the mixin's class attribute rather than assigning None
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 31fb30d commit 8c62dd2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/test_constructor_keywords.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212
class _Keywords:
13-
cls = None
13+
cls: type
1414

1515
def test_positional_rejected(self):
1616
for arg in (6, "L2", None, True):

0 commit comments

Comments
 (0)