From 0b2631c785c0781e2bb25a02cad6400a3d7fd74f Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 19 Sep 2021 23:39:02 +0200 Subject: [PATCH] PEP sytle fix --- InvenTree/plugins/integration/integration.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/InvenTree/plugins/integration/integration.py b/InvenTree/plugins/integration/integration.py index e24c1d79b5..e4f1b68cd7 100644 --- a/InvenTree/plugins/integration/integration.py +++ b/InvenTree/plugins/integration/integration.py @@ -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"""