Skip to content

Commit c1fa520

Browse files
committed
reformat all packages
1 parent 9396c1c commit c1fa520

File tree

53 files changed

+93
-84
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+93
-84
lines changed

packages/google-auth-httplib2/docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
# All configuration values have a default; values that are commented out
2525
# serve to show the default.
2626

27-
import sys
2827
import os
2928
import shlex
29+
import sys
3030

3131
# If extensions (or modules to document with autodoc) are in another directory,
3232
# add these directories to sys.path here. If the directory is relative to the

packages/google-auth-httplib2/google_auth_httplib2.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,9 @@
1919
import http.client
2020
import logging
2121

22-
from google.auth import exceptions
23-
from google.auth import transport
22+
from google.auth import exceptions, transport
2423
import httplib2
2524

26-
2725
_LOGGER = logging.getLogger(__name__)
2826
# Properties present in file-like streams / buffers.
2927
_STREAM_PROPERTIES = ("read", "seek", "tell")

packages/google-auth-oauthlib/docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
# All configuration values have a default; values that are commented out
2525
# serve to show the default.
2626

27-
import sys
2827
import os
2928
import shlex
29+
import sys
3030

3131
# If extensions (or modules to document with autodoc) are in another directory,
3232
# add these directories to sys.path here. If the directory is relative to the

packages/google-auth-oauthlib/google_auth_oauthlib/flow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
from secrets import SystemRandom
5858
except ImportError: # pragma: NO COVER
5959
from random import SystemRandom
60+
6061
from string import ascii_letters, digits
6162
import webbrowser
6263
import wsgiref.simple_server
@@ -67,7 +68,6 @@
6768

6869
import google_auth_oauthlib.helpers
6970

70-
7171
_LOGGER = logging.getLogger(__name__)
7272

7373

packages/google-auth-oauthlib/google_auth_oauthlib/interactive.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
import google_auth_oauthlib.flow
2828

29-
3029
LOCALHOST = "localhost"
3130
DEFAULT_PORTS_TO_TRY = 100
3231

packages/google-auth-oauthlib/google_auth_oauthlib/tool/__main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838

3939
import google_auth_oauthlib.flow
4040

41-
4241
APP_NAME = "google-oauthlib-tool"
4342
DEFAULT_CREDENTIALS_FILENAME = "credentials.json"
4443

packages/google-auth-oauthlib/setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414

1515
import io
1616

17-
from setuptools import find_namespace_packages
18-
from setuptools import setup
19-
17+
from setuptools import find_namespace_packages, setup
2018

2119
TOOL_DEPENDENCIES = "click>=6.0.0"
2220

packages/google-auth-oauthlib/tests/unit/test_flow.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
import re
2222
import socket
2323
from unittest import mock
24+
import urllib
25+
import webbrowser
2426

2527
import pytest
2628
import requests
27-
import urllib
28-
import webbrowser
2929

3030
from google_auth_oauthlib import flow
3131

packages/google-auth-oauthlib/tests/unit/test_helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
import os
1818
from unittest import mock
1919

20-
import pytest
21-
2220
from google.auth import external_account_authorized_user
2321
import google.oauth2.credentials
22+
import pytest
23+
2424
from google_auth_oauthlib import helpers
2525

2626
DATA_DIR = os.path.join(os.path.dirname(__file__), "data")

packages/google-cloud-dns/docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
# All configuration values have a default; values that are commented out
2525
# serve to show the default.
2626

27-
import sys
2827
import os
2928
import shlex
29+
import sys
3030

3131
# If extensions (or modules to document with autodoc) are in another directory,
3232
# add these directories to sys.path here. If the directory is relative to the

0 commit comments

Comments
 (0)