Skip to content

Commit 4c39400

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6b4a433 commit 4c39400

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

earthaccess/search.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,9 @@ def granule_name(self, granule_name: str | Iterable[str]) -> Self:
644644
TypeError: if `granule_name` is not of type `str` or `Iterable[str]`.
645645
"""
646646
if not isinstance(granule_name, Iterable):
647-
raise TypeError("granule_name must be of type string or Iterable of strings")
647+
raise TypeError(
648+
"granule_name must be of type string or Iterable of strings"
649+
)
648650
if not isinstance(granule_name, str):
649651
# Convert iterable to list of strings. Since str is also Iterable, make
650652
# sure we don't do this when granule_name is a string, otherwise

0 commit comments

Comments
 (0)