From 79af48017501388a77a7153340cf8fa9cb3c4382 Mon Sep 17 00:00:00 2001 From: Keith Gaughan Date: Sun, 1 Dec 2024 13:27:04 +0000 Subject: [PATCH] Satisfy the linter gods --- src/waitress/adjustments.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/waitress/adjustments.py b/src/waitress/adjustments.py index fbbd024b..e8ebb752 100644 --- a/src/waitress/adjustments.py +++ b/src/waitress/adjustments.py @@ -505,7 +505,9 @@ def parse_args(cls, argv): try: kw["app"] = pkgutil.resolve_name(app) except (ValueError, ImportError, AttributeError) as exc: - raise AppResolutionError(f"Cannot import WSGI application '{app}': {exc}") + raise AppResolutionError( + f"Cannot import WSGI application '{app}': {exc}", + ) if kw["call"]: kw["app"] = kw["app"]()