@@ -169,8 +169,7 @@ class Settings(ConfigurationView):
return filt({
k: v for k, v in items(
self if with_defaults else self.without_defaults())
- if not k.startswith('_')
- and k not in dict_members
+ if not k.startswith('_') and k not in dict_members
})
def humanize(self, with_defaults=False, censored=True):
@@ -14,7 +14,7 @@ def flaky(fun):
for i in reversed(range(3)):
try:
return fun(*args, **kwargs)
- except Exception as exc:
+ except Exception:
if not i:
raise
_inner.__wrapped__ = fun