We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15ff148 commit d84e7a0Copy full SHA for d84e7a0
1 file changed
tests/test_tc008.py
@@ -16,6 +16,8 @@
16
examples = [
17
('', set()),
18
("x: TypeAlias = 'int'", {'1:15 ' + TC008.format(alias='int')}),
19
+ # this should emit a TC010 instead
20
+ ("x: TypeAlias = 'int' | None", set()),
21
# this used to emit an error before fixing #164 if we wanted to handle
22
# this case once again we could add a whitelist of subscriptable types
23
("x: TypeAlias = 'Dict[int]'", set()),
0 commit comments