Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 28, 2023
1 parent 3e763c3 commit 5091489
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions simple_history/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -919,13 +919,15 @@ def to_historic(instance):
return getattr(instance, SIMPLE_HISTORY_REVERSE_ATTR_NAME, None)


class HistoricForwardOneToOneDescriptor(ForwardOneToOneDescriptor,
HistoricForwardManyToOneDescriptor):
class HistoricForwardOneToOneDescriptor(
ForwardOneToOneDescriptor, HistoricForwardManyToOneDescriptor
):
pass


class HistoricReverseOneToOneDescriptor(ReverseOneToOneDescriptor,
HistoricReverseManyToOneDescriptor):
class HistoricReverseOneToOneDescriptor(
ReverseOneToOneDescriptor, HistoricReverseManyToOneDescriptor
):
pass


Expand Down

0 comments on commit 5091489

Please sign in to comment.