mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
[lint] Fix incorrect and inconsistent whitespace
Adjust whitespace to be consistent with the rest of the library.
This commit is contained in:
1 parent
3679819c53
commit
c8b49d37be
26 files changed
+62
-66
No files matched your search
@@ -493,7 +493,7 @@ class Permissions:
|
||||
# after these 32 bits, there's 21 more unused ones technically
|
||||
|
||||
def augment_from_permissions(cls):
|
||||
cls.VALID_NAMES = { name for name in dir(Permissions) if isinstance(getattr(Permissions, name), property) }
|
||||
cls.VALID_NAMES = {name for name in dir(Permissions) if isinstance(getattr(Permissions, name), property)}
|
||||
|
||||
# make descriptors for all the valid names
|
||||
for name in cls.VALID_NAMES:
|
||||
@@ -562,7 +562,7 @@ class PermissionOverwrite:
|
||||
"""
|
||||
|
||||
allow = Permissions.none()
|
||||
deny = Permissions.none()
|
||||
deny = Permissions.none()
|
||||
|
||||
for key, value in self._values.items():
|
||||
if value is True:
|
||||
|
||||
Reference in new issue
Block a user