mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 10:17:59 -05:00
Bump black to 20.8b1 (and reformat) (#4371)
* Bump black version * Reformat with black
This commit is contained in:
@@ -1026,7 +1026,7 @@ class Cog(CogMixin, DPYCog, metaclass=DPYCogMeta):
|
||||
|
||||
.. warning::
|
||||
|
||||
None of your methods should start with ``red_`` or
|
||||
None of your methods should start with ``red_`` or
|
||||
be dunder names which start with red (eg. ``__red_test_thing__``)
|
||||
unless to override behavior in a method designed to be overriden,
|
||||
as this prefix is reserved for future methods in order to be
|
||||
|
||||
@@ -75,7 +75,7 @@ def parse_timedelta(
|
||||
"""
|
||||
This converts a user provided string into a timedelta
|
||||
|
||||
The units should be in order from largest to smallest.
|
||||
The units should be in order from largest to smallest.
|
||||
This works with or without whitespace.
|
||||
|
||||
Parameters
|
||||
|
||||
@@ -623,7 +623,10 @@ class RedHelpFormatter(HelpFormatterABC):
|
||||
|
||||
@staticmethod
|
||||
async def help_filter_func(
|
||||
ctx, objects: Iterable[SupportsCanSee], help_settings: HelpSettings, bypass_hidden=False,
|
||||
ctx,
|
||||
objects: Iterable[SupportsCanSee],
|
||||
help_settings: HelpSettings,
|
||||
bypass_hidden=False,
|
||||
) -> AsyncIterator[SupportsCanSee]:
|
||||
"""
|
||||
This does most of actual filtering.
|
||||
|
||||
Reference in New Issue
Block a user