Skip to content

Commit

Permalink
Ignore F401 flake8 error for typing.Self
Browse files Browse the repository at this point in the history
  • Loading branch information
ericatkin committed Jun 24, 2024
1 parent 9f29bc3 commit 02b114f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyramid/view.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 02b114f

Please sign in to comment.