Skip to content

Commit 45e2ea1

Browse files
committed
fix more formatting
1 parent c4135d7 commit 45e2ea1

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

earthaccess/api.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,8 @@ 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(
377+
"Your instance is not running inside the"
378+
" AWS us-west-2 region."
379+
" You will not be able to directly access NASA Earthdata S3 buckets."
380+
)

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)