Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
vegu committed Mar 18, 2024
1 parent 12be244 commit 19d7130
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions src/django_handleref/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class HistoryActionsForm(forms.Form):


class VersionAdmin(admin.ModelAdmin):

"""
ModelAdmin mixin that will enable handleref version
history for any model it is attached to
Expand Down Expand Up @@ -419,7 +418,6 @@ def version_rollback_process(


class HistoryListing(ChangeList):

"""
History listing view derived from how django admin does it's
ChangeList. This is mostly so we can support pagination
Expand Down
2 changes: 0 additions & 2 deletions src/django_handleref/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@


class HandleRefQuerySet(models.QuerySet):

"""
Custom queryset to provide handleref querying
"""
Expand Down Expand Up @@ -71,7 +70,6 @@ def undeleted(self):


class HandleRefManager(models.Manager):

"""
Custom manager to provide handleref querying
"""
Expand Down
5 changes: 0 additions & 5 deletions src/django_handleref/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@


class Version:

"""
Object version interface - extend to support
different types of django object versioning
Expand Down Expand Up @@ -174,7 +173,6 @@ def changed_fields(self, previous):


class ReversionVersion(Version):

"""
Version abtraction for django-reversion
"""
Expand Down Expand Up @@ -317,7 +315,6 @@ def next(self):


class Diff:

"""
Describes changes between two versions
"""
Expand Down Expand Up @@ -399,7 +396,6 @@ def format_value(self, value):


class Reverter:

"""
Allows to revert / rollback changes
"""
Expand Down Expand Up @@ -491,7 +487,6 @@ def validate_parent_status(self, instance, parent, status):


class ReversionReverter(Reverter):

"""
Reverter abstraction for django-reversion
"""
Expand Down

0 comments on commit 19d7130

Please sign in to comment.