mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
PEP sytle fix
This commit is contained in:
parent
fc9796ae82
commit
0b2631c785
@ -34,7 +34,7 @@ class MixinBase:
|
||||
}
|
||||
|
||||
@property
|
||||
def registered_mixins(self, with_base: bool=False):
|
||||
def registered_mixins(self, with_base: bool = False):
|
||||
mixins = getattr(self, '_mixinreg', None)
|
||||
if mixins:
|
||||
# filter out base
|
||||
@ -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"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user