Skip to content

Commit bf3ab84

Browse files
committed
fix lint
1 parent 39e45c5 commit bf3ab84

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

gokart/gcs_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
try:
2-
import google.auth
3-
import httplib2
2+
import googleapiclient # noqa: F401
43
except ImportError:
4+
# sentinal: this file should not be imported if [gcs] extra is not installed.
55
raise
66

77
import json

gokart/s3_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
try:
2-
import botocore
3-
from boto3.s3.transfer import TransferConfig
2+
import boto3 # noqa: F401
43
except ImportError:
4+
# sentinal: this file should not be imported if [s3] extra is not installed.
55
raise
66

77
import os

test/test_target.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
try:
1919
import boto3
20-
except:
20+
except ImportError:
2121
pass
2222

2323

0 commit comments

Comments
 (0)