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):