diff --git a/warehouse/csrf.py b/warehouse/csrf.py index c9656476907a..26deebc5cd34 100644 --- a/warehouse/csrf.py +++ b/warehouse/csrf.py @@ -40,7 +40,7 @@ def wrapped(context, request): return wrapped -require_method_view.options = {"require_methods"} +require_method_view.options = {"require_methods"} # type: ignore def includeme(config): diff --git a/warehouse/i18n/__init__.py b/warehouse/i18n/__init__.py index cc2c3c568939..be86eadd5c41 100644 --- a/warehouse/i18n/__init__.py +++ b/warehouse/i18n/__init__.py @@ -170,7 +170,7 @@ def wrapped(context, request): return wrapped -translated_view.options = {"has_translations"} +translated_view.options = {"has_translations"} # type: ignore def includeme(config): diff --git a/warehouse/legacy/api/xmlrpc/cache/derivers.py b/warehouse/legacy/api/xmlrpc/cache/derivers.py index b621f7b58e9e..6fae74b996e1 100644 --- a/warehouse/legacy/api/xmlrpc/cache/derivers.py +++ b/warehouse/legacy/api/xmlrpc/cache/derivers.py @@ -43,7 +43,7 @@ def wrapper_view(context, request): return view -cached_return_view.options = [ +cached_return_view.options = [ # type: ignore "xmlrpc_cache", "xmlrpc_cache_tag", "xmlrpc_cache_expires", diff --git a/warehouse/manage/__init__.py b/warehouse/manage/__init__.py index 7c5d6962193b..7da171d0ce5b 100644 --- a/warehouse/manage/__init__.py +++ b/warehouse/manage/__init__.py @@ -57,7 +57,7 @@ def wrapped(context, request): return view -reauth_view.options = {"require_reauth"} +reauth_view.options = {"require_reauth"} # type: ignore def includeme(config): diff --git a/warehouse/sessions.py b/warehouse/sessions.py index 53908ea1b611..72f101ddfcfb 100644 --- a/warehouse/sessions.py +++ b/warehouse/sessions.py @@ -361,7 +361,7 @@ def wrapped(context, request): return wrapped -session_view.options = {"uses_session"} +session_view.options = {"uses_session"} # type: ignore def includeme(config):