From c8b49d37be8c4aabb2d5896708f9dff91ffae368 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Fri, 22 Jun 2018 16:08:27 +0200 Subject: [lint] Fix incorrect and inconsistent whitespace Adjust whitespace to be consistent with the rest of the library. --- discord/permissions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'discord/permissions.py') diff --git a/discord/permissions.py b/discord/permissions.py index ea96e399..518a31c7 100644 --- a/discord/permissions.py +++ b/discord/permissions.py @@ -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: -- cgit v1.2.3