Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
daisuke-yokomoto committed Dec 14, 2023
1 parent 39e45c5 commit bf3ab84
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions gokart/gcs_config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
try:
import google.auth
import httplib2
import googleapiclient # noqa: F401
except ImportError:
# sentinal: this file should not be imported if [gcs] extra is not installed.
raise

import json
Expand Down
4 changes: 2 additions & 2 deletions gokart/s3_config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
try:
import botocore
from boto3.s3.transfer import TransferConfig
import boto3 # noqa: F401
except ImportError:
# sentinal: this file should not be imported if [s3] extra is not installed.
raise

import os
Expand Down
2 changes: 1 addition & 1 deletion test/test_target.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

try:
import boto3
except:
except ImportError:
pass


Expand Down

0 comments on commit bf3ab84

Please sign in to comment.