Skip to content

Commit d9e894c

Browse files
committed
more linting and formatting
1 parent f9e7a2f commit d9e894c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sdks/python/apache_beam/testing/pipeline_verifiers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
try:
4444
from google.api_core.exceptions import GoogleAPICallError
4545
except ImportError:
46-
GoogleAPICallError = None # type: ignore
46+
GoogleAPICallError = None # type: ignore
4747

4848
MAX_RETRIES = 4
4949

@@ -76,7 +76,7 @@ def describe_mismatch(self, pipeline_result, mismatch_description):
7676
def retry_on_io_error_and_server_error(exception):
7777
"""Filter allowing retries on file I/O errors and service error."""
7878
return isinstance(exception, IOError) or \
79-
(GoogleAPICallError is not None and isinstance(exception, GoogleAPICallError))
79+
(GoogleAPICallError is not None and isinstance(exception, GoogleAPICallError)) # pylint: disable=line-too-long
8080

8181

8282
class FileChecksumMatcher(BaseMatcher):

sdks/python/apache_beam/testing/pipeline_verifiers_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
from google.api_core.exceptions import NotFound
4242
from apache_beam.io.gcp.gcsfilesystem import GCSFileSystem
4343
except ImportError:
44-
GoogleAPICallError = None # type: ignore
45-
NotFound = None # type: ignore
44+
GoogleAPICallError = None # type: ignore
45+
NotFound = None # type: ignore
4646
GCSFileSystem = None # type: ignore
4747

4848

0 commit comments

Comments
 (0)