Skip to content

Commit 4f752e6

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent dfdc4f3 commit 4f752e6

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

discord/ext/commands/flags.py

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,16 @@
2929
import re
3030
import sys
3131
from dataclasses import dataclass, field
32-
from typing import TYPE_CHECKING, Any, Iterator, Literal, Optional, Pattern, TypeVar, Union
32+
from typing import (
33+
TYPE_CHECKING,
34+
Any,
35+
Iterator,
36+
Literal,
37+
Optional,
38+
Pattern,
39+
TypeVar,
40+
Union,
41+
)
3342

3443
from discord.utils import MISSING, MissingField, maybe_coroutine, resolve_annotation
3544

@@ -294,7 +303,7 @@ class FlagsMeta(type):
294303
__commands_flag_case_insensitive__: bool
295304
__commands_flag_delimiter__: str
296305
__commands_flag_prefix__: str
297-
__commands_flag_positional__: Optional[Flag]
306+
__commands_flag_positional__: Flag | None
298307

299308
def __new__(
300309
cls: type[type],

0 commit comments

Comments
 (0)