mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Reformat entire project with ruff instead of black
This commit is contained in:
1 parent
3ef6272e07
commit
44a44e938f
88 files changed
+485
-730
No files matched your search
@@ -197,7 +197,7 @@ def get_flags(namespace: Dict[str, Any], globals: Dict[str, Any], locals: Dict[s
|
||||
|
||||
if flag.positional:
|
||||
if positional is not None:
|
||||
raise TypeError(f"{flag.name!r} positional flag conflicts with {positional.name!r} flag.")
|
||||
raise TypeError(f'{flag.name!r} positional flag conflicts with {positional.name!r} flag.')
|
||||
positional = flag
|
||||
|
||||
annotation = flag.annotation = resolve_annotation(flag.annotation, globals, locals, cache)
|
||||
|
||||
Reference in new issue
Block a user