From 31d3abe8c69cc3fdae13705f6224f5834274fcc7 Mon Sep 17 00:00:00 2001 From: Phin Wolkwitz Date: Wed, 28 Jan 2026 13:14:17 +0100 Subject: [PATCH] Update pytest filterwarnings, sort imports --- src/pretix/presale/views/widget.py | 2 +- src/setup.cfg | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/pretix/presale/views/widget.py b/src/pretix/presale/views/widget.py index 3d9d275058..68c6ea4e60 100644 --- a/src/pretix/presale/views/widget.py +++ b/src/pretix/presale/views/widget.py @@ -49,7 +49,7 @@ from django.views.decorators.cache import cache_page from django.views.decorators.gzip import gzip_page from django.views.decorators.http import condition from django.views.i18n import ( - JavaScriptCatalog, get_formats, builtin_template_path, + JavaScriptCatalog, builtin_template_path, get_formats, ) from lxml import html diff --git a/src/setup.cfg b/src/setup.cfg index e633a99582..41d65a4bcb 100644 --- a/src/setup.cfg +++ b/src/setup.cfg @@ -23,9 +23,7 @@ filterwarnings = error ignore:.*invalid escape sequence.*: ignore:The 'warn' method is deprecated:DeprecationWarning - ignore::django.utils.deprecation.RemovedInDjango51Warning:django.core.files.storage - ignore:.*index_together.*:django.utils.deprecation.RemovedInDjango51Warning: - ignore:.*get_storage_class.*:django.utils.deprecation.RemovedInDjango51Warning:compressor + ignore::django.utils.deprecation.RemovedInDjango60Warning: ignore:.*This signal will soon be only available for plugins that declare to be organizer-level.*:DeprecationWarning: ignore::DeprecationWarning:mt940 ignore::DeprecationWarning:cbor2