Bump black to 20.8b1 (and reformat) (#4371)

* Bump black version

* Reformat with black
This commit is contained in:
jack1142
2020-08-29 19:12:28 +02:00
committed by GitHub
parent 56b54d4d34
commit 85afe19455
30 changed files with 83 additions and 54 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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.