Skip to content

Commit 58c6ea4

Browse files
committed
Fix static typing issue
1 parent 86278cb commit 58c6ea4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pygmt/src/x2sys_cross.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import contextlib
66
import os
77
from pathlib import Path
8-
from typing import Literal
8+
from typing import Any, Literal
99

1010
import pandas as pd
1111
from pygmt.clib import Session
@@ -195,7 +195,7 @@ def x2sys_cross(
195195
"""
196196
output_type = validate_output_table_type(output_type, outfile=outfile)
197197

198-
file_contexts = []
198+
file_contexts: list[contextlib.AbstractContextManager[Any]] = []
199199
for track in tracks:
200200
match data_kind(track):
201201
case "file":

0 commit comments

Comments
 (0)