We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39e45c5 commit bf3ab84Copy full SHA for bf3ab84
gokart/gcs_config.py
@@ -1,7 +1,7 @@
1
try:
2
- import google.auth
3
- import httplib2
+ import googleapiclient # noqa: F401
4
except ImportError:
+ # sentinal: this file should not be imported if [gcs] extra is not installed.
5
raise
6
7
import json
gokart/s3_config.py
- import botocore
- from boto3.s3.transfer import TransferConfig
+ import boto3 # noqa: F401
+ # sentinal: this file should not be imported if [s3] extra is not installed.
import os
test/test_target.py
@@ -17,7 +17,7 @@
17
18
19
import boto3
20
-except:
+except ImportError:
21
pass
22
23
0 commit comments