diff --git a/librarian.yaml b/librarian.yaml index 7c0eb430af62..80414caf353e 100644 --- a/librarian.yaml +++ b/librarian.yaml @@ -336,7 +336,6 @@ libraries: issue_tracker_override: https://github.com/googleapis/google-cloud-python/issues - name: google-auth-oauthlib version: 1.3.1 - skip_generate: true python: library_type: AUTH name_pretty_override: Google Auth OAuthlib diff --git a/packages/google-auth-oauthlib/.repo-metadata.json b/packages/google-auth-oauthlib/.repo-metadata.json index 2fb50ea72866..f99f9c26ad93 100644 --- a/packages/google-auth-oauthlib/.repo-metadata.json +++ b/packages/google-auth-oauthlib/.repo-metadata.json @@ -1,13 +1,11 @@ { - "name": "google-auth-oauthlib", - "name_pretty": "Google Auth OAuthlib", "client_documentation": "https://googleapis.dev/python/google-auth-oauthlib/latest", + "distribution_name": "google-auth-oauthlib", "issue_tracker": "https://github.com/googleapis/google-cloud-python/issues", - "release_level": "stable", "language": "python", "library_type": "AUTH", - "repo": "googleapis/google-cloud-python", - "distribution_name": "google-auth-oauthlib", - "default_version": "", - "codeowner_team": "@googleapis/googleapis-auth" -} + "name": "google-auth-oauthlib", + "name_pretty": "Google Auth OAuthlib", + "release_level": "stable", + "repo": "googleapis/google-cloud-python" +} \ No newline at end of file diff --git a/packages/google-auth-oauthlib/docs/conf.py b/packages/google-auth-oauthlib/docs/conf.py index c256f586805c..ff42bf68f1dd 100644 --- a/packages/google-auth-oauthlib/docs/conf.py +++ b/packages/google-auth-oauthlib/docs/conf.py @@ -24,9 +24,9 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import sys import os import shlex +import sys # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the diff --git a/packages/google-auth-oauthlib/google_auth_oauthlib/flow.py b/packages/google-auth-oauthlib/google_auth_oauthlib/flow.py index bc014a62bc29..eb1ed799223a 100644 --- a/packages/google-auth-oauthlib/google_auth_oauthlib/flow.py +++ b/packages/google-auth-oauthlib/google_auth_oauthlib/flow.py @@ -57,6 +57,7 @@ from secrets import SystemRandom except ImportError: # pragma: NO COVER from random import SystemRandom + from string import ascii_letters, digits import webbrowser import wsgiref.simple_server @@ -67,7 +68,6 @@ import google_auth_oauthlib.helpers - _LOGGER = logging.getLogger(__name__) diff --git a/packages/google-auth-oauthlib/google_auth_oauthlib/interactive.py b/packages/google-auth-oauthlib/google_auth_oauthlib/interactive.py index b1ed990ef435..36354b97c92a 100644 --- a/packages/google-auth-oauthlib/google_auth_oauthlib/interactive.py +++ b/packages/google-auth-oauthlib/google_auth_oauthlib/interactive.py @@ -26,7 +26,6 @@ import google_auth_oauthlib.flow - LOCALHOST = "localhost" DEFAULT_PORTS_TO_TRY = 100 diff --git a/packages/google-auth-oauthlib/google_auth_oauthlib/tool/__main__.py b/packages/google-auth-oauthlib/google_auth_oauthlib/tool/__main__.py index db679a1841f3..297d9f62c056 100644 --- a/packages/google-auth-oauthlib/google_auth_oauthlib/tool/__main__.py +++ b/packages/google-auth-oauthlib/google_auth_oauthlib/tool/__main__.py @@ -38,7 +38,6 @@ import google_auth_oauthlib.flow - APP_NAME = "google-oauthlib-tool" DEFAULT_CREDENTIALS_FILENAME = "credentials.json" diff --git a/packages/google-auth-oauthlib/setup.py b/packages/google-auth-oauthlib/setup.py index 15495506a86d..38a37006cfa1 100644 --- a/packages/google-auth-oauthlib/setup.py +++ b/packages/google-auth-oauthlib/setup.py @@ -14,9 +14,7 @@ import io -from setuptools import find_namespace_packages -from setuptools import setup - +from setuptools import find_namespace_packages, setup TOOL_DEPENDENCIES = "click>=6.0.0" diff --git a/packages/google-auth-oauthlib/tests/unit/test_flow.py b/packages/google-auth-oauthlib/tests/unit/test_flow.py index d8be492ef62b..ed197069d633 100644 --- a/packages/google-auth-oauthlib/tests/unit/test_flow.py +++ b/packages/google-auth-oauthlib/tests/unit/test_flow.py @@ -21,11 +21,11 @@ import re import socket from unittest import mock +import urllib +import webbrowser import pytest import requests -import urllib -import webbrowser from google_auth_oauthlib import flow diff --git a/packages/google-auth-oauthlib/tests/unit/test_helpers.py b/packages/google-auth-oauthlib/tests/unit/test_helpers.py index 2aa22693a796..59d97c74687e 100644 --- a/packages/google-auth-oauthlib/tests/unit/test_helpers.py +++ b/packages/google-auth-oauthlib/tests/unit/test_helpers.py @@ -17,10 +17,10 @@ import os from unittest import mock -import pytest - from google.auth import external_account_authorized_user import google.oauth2.credentials +import pytest + from google_auth_oauthlib import helpers DATA_DIR = os.path.join(os.path.dirname(__file__), "data")