Skip to content

Commit 013375f

Browse files
Fix lint issues related to ordering of imports
1 parent 5abf212 commit 013375f

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

google/cloud/alloydb/connector/async_connector.py

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

2727
import google.cloud.alloydb.connector.asyncpg as asyncpg
2828
from google.cloud.alloydb.connector.client import AlloyDBClient
29-
from google.cloud.alloydb.connector.enums import IPTypes, RefreshStrategy
29+
from google.cloud.alloydb.connector.enums import IPTypes
30+
from google.cloud.alloydb.connector.enums import RefreshStrategy
3031
from google.cloud.alloydb.connector.instance import RefreshAheadCache
3132
from google.cloud.alloydb.connector.lazy import LazyRefreshCache
3233
from google.cloud.alloydb.connector.static import StaticConnectionInfoCache

google/cloud/alloydb/connector/connector.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,19 @@
2525
from typing import Any, Optional, TYPE_CHECKING, Union
2626

2727
from google.auth import default
28-
from google.auth.credentials import TokenState, with_scopes_if_required
28+
from google.auth.credentials import TokenState
29+
from google.auth.credentials import with_scopes_if_required
2930
from google.auth.transport import requests
3031

31-
import google.cloud.alloydb.connector.pg8000 as pg8000
32-
import google.cloud.alloydb_connectors_v1.proto.resources_pb2 as connectorspb
3332
from google.cloud.alloydb.connector.client import AlloyDBClient
34-
from google.cloud.alloydb.connector.enums import IPTypes, RefreshStrategy
33+
from google.cloud.alloydb.connector.enums import IPTypes
34+
from google.cloud.alloydb.connector.enums import RefreshStrategy
3535
from google.cloud.alloydb.connector.instance import RefreshAheadCache
3636
from google.cloud.alloydb.connector.lazy import LazyRefreshCache
37+
import google.cloud.alloydb.connector.pg8000 as pg8000
3738
from google.cloud.alloydb.connector.static import StaticConnectionInfoCache
3839
from google.cloud.alloydb.connector.utils import generate_keys
40+
import google.cloud.alloydb_connectors_v1.proto.resources_pb2 as connectorspb
3941

4042
if TYPE_CHECKING:
4143
import ssl

tests/unit/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
from typing import Generator
2020

2121
from aiofiles.tempfile import TemporaryDirectory
22-
import pytest
2322
from mocks import FakeAlloyDBClient
2423
from mocks import FakeCredentials
2524
from mocks import FakeInstance
2625
from mocks import metadata_exchange
26+
import pytest
2727

2828
from google.cloud.alloydb.connector.utils import _write_to_file
2929

0 commit comments

Comments
 (0)