Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions google/auth/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ class Python37DeprecationWarning(DeprecationWarning): # pragma: NO COVER


# Raise warnings for deprecated versions
eol_message = """
You are using a Python version {} past its end of life. Google will update
google-auth with critical bug fixes on a best-effort basis, but not
with any other fixes or features. Please upgrade your Python version,
and then update google-auth.
"""
eol_message = (
"You are using a Python version {} past its end of life. Google will update "
"google-auth with critical bug fixes on a best-effort basis, but not "
"with any other fixes or features. Please upgrade your Python version, "
"and then update google-auth."
)
if sys.version_info.major == 3 and sys.version_info.minor == 8: # pragma: NO COVER
warnings.warn(eol_message.format("3.8"), FutureWarning)
elif sys.version_info.major == 3 and sys.version_info.minor == 9: # pragma: NO COVER
Expand Down
12 changes: 6 additions & 6 deletions google/oauth2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ class Python37DeprecationWarning(DeprecationWarning): # pragma: NO COVER


# Raise warnings for deprecated versions
eol_message = """
You are using a Python version {} past its end of life. Google will update
google-auth with critical bug fixes on a best-effort basis, but not
with any other fixes or features. Please upgrade your Python version,
and then update google-auth.
"""
eol_message = (
"You are using a Python version {} past its end of life. Google will update "
"google-auth with critical bug fixes on a best-effort basis, but not "
"with any other fixes or features. Please upgrade your Python version, "
"and then update google-auth."
)
if sys.version_info.major == 3 and sys.version_info.minor == 8: # pragma: NO COVER
warnings.warn(eol_message.format("3.8"), FutureWarning)
elif sys.version_info.major == 3 and sys.version_info.minor == 9: # pragma: NO COVER
Expand Down
Loading