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
+2
-4
@@ -861,13 +861,11 @@ ActivityTypes = Union[Activity, Game, CustomActivity, Streaming, Spotify]
|
||||
|
||||
|
||||
@overload
|
||||
def create_activity(data: ActivityPayload, state: ConnectionState) -> ActivityTypes:
|
||||
...
|
||||
def create_activity(data: ActivityPayload, state: ConnectionState) -> ActivityTypes: ...
|
||||
|
||||
|
||||
@overload
|
||||
def create_activity(data: None, state: ConnectionState) -> None:
|
||||
...
|
||||
def create_activity(data: None, state: ConnectionState) -> None: ...
|
||||
|
||||
|
||||
def create_activity(data: Optional[ActivityPayload], state: ConnectionState) -> Optional[ActivityTypes]:
|
||||
|
||||
Reference in new issue
Block a user