From 02b114fcd47d80b05ff362b3c0a7e3d2a9376426 Mon Sep 17 00:00:00 2001 From: Eric Atkin Date: Mon, 24 Jun 2024 15:42:58 -0600 Subject: [PATCH] Ignore F401 flake8 error for typing.Self --- src/pyramid/view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyramid/view.py b/src/pyramid/view.py index 27860dd2a..23a656177 100644 --- a/src/pyramid/view.py +++ b/src/pyramid/view.py @@ -27,7 +27,7 @@ if sys.version_info.major < 3 or sys.version_info.minor < 11: Self = Sentinel('Self') # pragma: no cover else: - from typing import Self + from typing import Self # noqa: F401 def render_view_to_response(context, request, name='', secure=True):