Skip to content

Commit f60d407

Browse files
committed
Silence a mypy warning with mypy v1.12.0 (#3514)
1 parent 5d697f4 commit f60d407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygmt/datasets/load_remote_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ def _load_remote_dataset(
441441
"returned unless only the pixel-registered grid is available."
442442
)
443443

444-
fname = f"@{prefix}_{resolution}_{registration[0]}"
444+
fname = f"@{prefix}_{resolution}_{registration[0]}" # type: ignore[index]
445445
if resinfo.tiled and region is None:
446446
raise GMTInvalidInput(
447447
f"'region' is required for {dataset.description} resolution '{resolution}'."

0 commit comments

Comments
 (0)