Skip to content

Commit 953fffb

Browse files
committed
fix(ci): Correct lint errors and coverage pragma case
1 parent 8dc13e3 commit 953fffb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

google/cloud/client/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
import google.auth.api_key
3535

3636
HAS_GOOGLE_AUTH_API_KEY = True
37-
except ImportError: # pragma: no cover
38-
HAS_GOOGLE_AUTH_API_KEY = False # pragma: no cover
37+
except ImportError: # pragma: NO COVER
38+
HAS_GOOGLE_AUTH_API_KEY = False # pragma: NO COVER
3939
# TODO: Investigate adding a test for google.auth.api_key ImportError (https://github.com/googleapis/python-cloud-core/issues/334)
4040

4141

google/cloud/obsolete/__init__.py

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

1515
"""Helpers for deprecated code and modules."""
1616

17-
import sys
18-
import warnings
1917
import importlib.metadata as metadata
18+
import warnings
2019

2120

2221
def complain(distribution_name):

0 commit comments

Comments
 (0)