Skip to content

Commit

Permalink
Fix keyword-arg-before-vararg
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobranco777 committed Jul 3, 2023
1 parent 370c0ee commit 002c4cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocw/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class Meta: # pylint: disable=too-few-public-methods

# Create a BaseFilterSet to support initial value
class BaseFilterSet(django_filters.FilterSet):
def __init__(self, data=None, *args, **kwargs):
def __init__(self, data, *args, **kwargs):
if data is not None:
data = data.copy()
for name, filter_ in self.base_filters.items():
Expand Down

0 comments on commit 002c4cd

Please sign in to comment.