diff --git a/spec_driven_model/models/spec_export.py b/spec_driven_model/models/spec_export.py index 9803132d72fc..b1dd0f6b283d 100644 --- a/spec_driven_model/models/spec_export.py +++ b/spec_driven_model/models/spec_export.py @@ -9,6 +9,7 @@ _logger = logging.getLogger(__name__) +# pylint: disable=consider-merging-classes-inherited class AbstractSpecMixin(models.AbstractModel): _inherit = "spec.mixin" diff --git a/spec_driven_model/models/spec_import.py b/spec_driven_model/models/spec_import.py index 77fe3ff4f203..24e6dafbc8bb 100644 --- a/spec_driven_model/models/spec_import.py +++ b/spec_driven_model/models/spec_import.py @@ -19,6 +19,7 @@ tz_datetime = re.compile(r".*[-+]0[0-9]:00$") +# pylint: disable=consider-merging-classes-inherited class AbstractSpecMixin(models.AbstractModel): """ A recursive Odoo object builder that works along with the diff --git a/spec_driven_model/models/spec_models.py b/spec_driven_model/models/spec_models.py index 3d09e3b1e265..b4ab76c970f9 100644 --- a/spec_driven_model/models/spec_models.py +++ b/spec_driven_model/models/spec_models.py @@ -29,6 +29,7 @@ def filter(self, record): return super().filter(record) +# pylint: disable=consider-merging-classes-inherited class SpecModel(models.AbstractModel): """When you inherit this Model, then your model becomes concrete just like models.Model and it can use _inherit to inherit from several xsd generated diff --git a/spec_driven_model/models/spec_view.py b/spec_driven_model/models/spec_view.py index cf779e509800..3c36ca14f4fb 100644 --- a/spec_driven_model/models/spec_view.py +++ b/spec_driven_model/models/spec_view.py @@ -15,6 +15,7 @@ # TODO use MetaModel._get_concrete +# pylint: disable=consider-merging-classes-inherited class SpecViewMixin(models.AbstractModel): _inherit = "spec.mixin"