Skip to content

Commit

Permalink
[REF] disable=consider-merging-classes-inherited
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalyi committed Jan 18, 2024
1 parent ab116ce commit 7f6a64a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec_driven_model/models/spec_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
_logger = logging.getLogger(__name__)


# pylint: disable=consider-merging-classes-inherited
class AbstractSpecMixin(models.AbstractModel):
_inherit = "spec.mixin"

Expand Down
1 change: 1 addition & 0 deletions spec_driven_model/models/spec_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions spec_driven_model/models/spec_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions spec_driven_model/models/spec_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# TODO use MetaModel._get_concrete


# pylint: disable=consider-merging-classes-inherited
class SpecViewMixin(models.AbstractModel):
_inherit = "spec.mixin"

Expand Down

0 comments on commit 7f6a64a

Please sign in to comment.