Skip to content

Commit cbec1a1

Browse files
committed
updated noqa lines
1 parent eaa6169 commit cbec1a1

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

packages/google-api-core/google/api_core/gapic_v1/method_async.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121

2222
from google.api_core import grpc_helpers_async
2323
from google.api_core.gapic_v1 import client_info
24-
from google.api_core.gapic_v1.method import (
25-
DEFAULT, # noqa: F401
26-
USE_DEFAULT_METADATA, # noqa: F401
24+
from google.api_core.gapic_v1.method import ( # noqa: F401
25+
DEFAULT,
26+
USE_DEFAULT_METADATA,
2727
_GapicCallable,
2828
)
2929

packages/google-api-core/google/api_core/retry/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
# The following imports are for backwards compatibility with https://github.com/googleapis/python-api-core/blob/4d7d2edee2c108d43deb151e6e0fdceb56b73275/google/api_core/retry.py
2020
#
2121
# TODO: Revert these imports on the next major version release (https://github.com/googleapis/python-api-core/issues/576)
22-
from google.api_core import (
23-
datetime_helpers, # noqa: F401
24-
exceptions, # noqa: F401
22+
from google.api_core import ( # noqa: F401
23+
datetime_helpers,
24+
exceptions,
2525
)
2626

2727
from .retry_base import (

packages/google-api-core/google/api_core/retry/retry_unary_async.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ async def check_if_exists():
6666
)
6767

6868
# for backwards compatibility, expose helpers in this module
69-
from google.api_core.retry.retry_base import (
69+
from google.api_core.retry.retry_base import ( # noqa: F401
7070
RetryFailureReason,
7171
_BaseRetry,
7272
_retry_error_helper,
7373
build_retry_error,
7474
exponential_sleep_generator,
75-
if_exception_type, # noqa
76-
if_transient_error, # noqa
75+
if_exception_type,
76+
if_transient_error,
7777
)
7878

7979
if TYPE_CHECKING:

packages/google-api-core/tests/unit/retry/test_retry_imports.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ def test_legacy_imports_retry_unary_sync():
1717
# TODO: Delete this test when when we revert these imports on the
1818
# next major version release
1919
# (https://github.com/googleapis/python-api-core/issues/576)
20-
from google.api_core.retry import (
21-
auth_exceptions, # noqa: F401
22-
datetime_helpers, # noqa: F401
23-
exceptions, # noqa: F401
20+
from google.api_core.retry import ( # noqa: F401
21+
auth_exceptions,
22+
datetime_helpers,
23+
exceptions,
2424
)
2525

2626

0 commit comments

Comments
 (0)