PEP sytle fix

This commit is contained in:
Matthias 2021-09-19 23:39:02 +02:00
parent fc9796ae82
commit 0b2631c785
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -34,8 +34,8 @@ class MixinBase:
}
@property
def registered_mixins(self, with_base: bool=False):
mixins = getattr(self, '_mixinreg', None)
def registered_mixins(self, with_base: bool = False):
mixins = getattr(self, '_mixinreg', None)
if mixins:
# filter out base
if not with_base and 'base' in mixins:
@ -44,6 +44,7 @@ class MixinBase:
mixins = [a for a in mixins.values()]
return mixins
# region mixins
class SettingsMixin:
"""Mixin that enables settings for the plugin"""