From 01ffef8599fc4c385b41906f62bfb9aa7717ab2d Mon Sep 17 00:00:00 2001 From: Jeff Sheffield Date: Fri, 5 Jan 2024 10:20:12 -0600 Subject: [PATCH] linting --- rangefilter/filters.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rangefilter/filters.py b/rangefilter/filters.py index f67cc6b..9050209 100644 --- a/rangefilter/filters.py +++ b/rangefilter/filters.py @@ -26,8 +26,11 @@ from django.utils.translation import ugettext_lazy as _ # pylint: disable=E0611 if django.VERSION >= (4, 2, 0): - from django.contrib.admin.widgets import AdminDateWidget - from django.contrib.admin.widgets import BaseAdminDateWidget, BaseAdminTimeWidget + from django.contrib.admin.widgets import ( + AdminDateWidget, + BaseAdminDateWidget, + BaseAdminTimeWidget, + ) else: from django.contrib.admin.widgets import AdminDateWidget as BaseAdminDateWidget from django.contrib.admin.widgets import AdminTimeWidget as BaseAdminTimeWidget