Skip to content

Commit

Permalink
fix: django 4.0 pylint changes
Browse files Browse the repository at this point in the history
  • Loading branch information
johanseto committed Feb 13, 2025
1 parent 8adaa26 commit 9afb2c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eox_nelp/notifications/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class DueDateListFilter(DateFieldListFilter):
4) Next month: Records from now until 30 days in the future.
"""

def __init__(self, field, request, params, model, model_admin, field_path): # pylint: disable=too-many-arguments
def __init__(self, field, request, params, model, model_admin, field_path): # pylint: disable=too-many-arguments,too-many-positional-arguments
"""Custom init method to modify inherited options"""
super().__init__(field, request, params, model, model_admin, field_path)
today = timezone.now()
Expand Down
2 changes: 1 addition & 1 deletion eox_nelp/openedx_filters/xapi/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def run_filter(self, transformer, result): # pylint: disable=arguments-differ,
updater = getattr(self, f"_update_{key}", None)

if updater:
updater(result, value)
updater(result, value) # pylint: disable=not-callable
else:
setattr(result, key, value)

Expand Down

0 comments on commit 9afb2c2

Please sign in to comment.