Reformat code using black

Segments where readability was hampered were fixed by appropriate
format skipping directives. New code should hopefully be black
compatible. The moment they remove the -S option is probably the moment
I stop using black though.
This commit is contained in:
Rapptz
2022-02-20 06:29:41 -05:00
parent af8e74d327
commit 88b520b5ab
56 changed files with 738 additions and 289 deletions

View File

@ -82,7 +82,7 @@ def fill_with_flags(*, inverted: bool = False):
if inverted:
max_bits = max(cls.VALID_FLAGS.values()).bit_length()
cls.DEFAULT_VALUE = -1 + (2 ** max_bits)
cls.DEFAULT_VALUE = -1 + (2**max_bits)
else:
cls.DEFAULT_VALUE = 0
@ -908,7 +908,7 @@ class Intents(BaseFlags):
- :func:`on_message_edit`
- :func:`on_message_delete`
- :func:`on_raw_message_edit`
For more information go to the :ref:`message content intent documentation <need_message_content_intent>`.
.. note::