Skip to content

Commit 9d1fc41

Browse files
committed
fix: address lint issues in gapic_v1/__init__.py
1 parent 3bb69ac commit 9d1fc41

1 file changed

Lines changed: 19 additions & 14 deletions

File tree

  • packages/google-api-core/google/api_core/gapic_v1

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

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,26 @@
3030
__all__ = ["client_info", "routing_header"]
3131

3232
if _has_grpc:
33-
__lazy_modules__.update({
34-
"google.api_core.gapic_v1.config",
35-
"google.api_core.gapic_v1.config_async",
36-
"google.api_core.gapic_v1.method",
37-
"google.api_core.gapic_v1.method_async",
38-
})
39-
40-
from google.api_core.gapic_v1 import client_info # noqa: E402
41-
from google.api_core.gapic_v1 import routing_header # noqa: E402
33+
__lazy_modules__.update(
34+
{
35+
"google.api_core.gapic_v1.config",
36+
"google.api_core.gapic_v1.config_async",
37+
"google.api_core.gapic_v1.method",
38+
"google.api_core.gapic_v1.method_async",
39+
}
40+
)
41+
42+
from google.api_core.gapic_v1 import ( # noqa: E402
43+
client_info,
44+
routing_header,
45+
)
4246

4347
if _has_grpc:
44-
from google.api_core.gapic_v1 import config # noqa: F401
45-
from google.api_core.gapic_v1 import config_async # noqa: F401
46-
from google.api_core.gapic_v1 import method # noqa: F401
47-
from google.api_core.gapic_v1 import method_async # noqa: F401
48+
from google.api_core.gapic_v1 import ( # noqa: F401
49+
config,
50+
config_async,
51+
method,
52+
method_async,
53+
)
4854

4955
__all__.extend(["config", "config_async", "method", "method_async"])
50-

0 commit comments

Comments
 (0)