Skip to content

Commit c4135d7

Browse files
committed
use double quotes for ruff
1 parent f9115fa commit c4135d7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

earthaccess/api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,6 @@ def in_us_west_2() -> str:
373373
if earthaccess.__store__._running_in_us_west_2() is True:
374374
return "You are running in AWS region 'us-west-2'"
375375
else:
376-
raise ValueError('Your instance is not running inside the'
377-
' AWS us-west-2 region.'
378-
' You will not be able to directly access NASA Earthdata S3 buckets')
376+
raise ValueError("Your instance is not running inside the"
377+
" AWS us-west-2 region."
378+
" You will not be able to directly access NASA Earthdata S3 buckets.")

earthaccess/store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def _own_s3_credentials(self, links: List[Dict[str, Any]]) -> Union[str, None]:
141141
return None
142142

143143
def _running_in_us_west_2(self) -> bool:
144-
if (botocore.session.get_session().get_config_variable('region') == 'us-west-2'):
144+
if (botocore.session.get_session().get_config_variable("region") == "us-west-2"):
145145
return True
146146
else:
147147
return False

0 commit comments

Comments
 (0)