From 002c4cd9f2fcf563d367bd30fea3eb202e553d3a Mon Sep 17 00:00:00 2001 From: Ricardo Branco Date: Mon, 3 Jul 2023 16:04:21 +0200 Subject: [PATCH] Fix keyword-arg-before-vararg --- ocw/tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocw/tables.py b/ocw/tables.py index 554a52e7..263572ee 100644 --- a/ocw/tables.py +++ b/ocw/tables.py @@ -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():