Skip to content

Commit 149e394

Browse files
ci: correct from checks.
1 parent 4050be7 commit 149e394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interactions/models/internal/application_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def _is_optional(anno: typing.Any) -> bool:
535535

536536

537537
def _remove_optional(t: OptionType | type) -> Any:
538-
non_optional_args: tuple[type] = tuple(a for a in typing.get_args(t) if a is not types.NoneType) # noqa
538+
non_optional_args: tuple[type] = tuple(a for a in typing.get_args(t) if a is not types.NoneType)
539539
if len(non_optional_args) == 1:
540540
return non_optional_args[0]
541541
return typing.Union[non_optional_args] # type: ignore

0 commit comments

Comments
 (0)