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

@@ -14,9 +14,9 @@ from .utils import AsyncIter
class PrefixManager:
def __init__(self, config: Config, cli_flags: Namespace):
self._config: Config = config
self._global_prefix_overide: Optional[List[str]] = sorted(
cli_flags.prefix, reverse=True
) or None
self._global_prefix_overide: Optional[List[str]] = (
sorted(cli_flags.prefix, reverse=True) or None
)
self._cached: Dict[Optional[int], List[str]] = {}
async def get_prefixes(self, guild: Optional[discord.Guild] = None) -> List[str]: