From 7f6a64ac37d58507394f036065cdaaa0dcdef842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Valyi?= Date: Thu, 18 Jan 2024 13:05:11 -0300 Subject: [PATCH] [REF] disable=consider-merging-classes-inherited --- spec_driven_model/models/spec_export.py | 1 + spec_driven_model/models/spec_import.py | 1 + spec_driven_model/models/spec_models.py | 1 + spec_driven_model/models/spec_view.py | 1 + 4 files changed, 4 insertions(+) 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"