Skip to content

Commit

Permalink
Fix static typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Apr 20, 2024
1 parent 86278cb commit 58c6ea4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pygmt/src/x2sys_cross.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import contextlib
import os
from pathlib import Path
from typing import Literal
from typing import Any, Literal

import pandas as pd
from pygmt.clib import Session
Expand Down Expand Up @@ -195,7 +195,7 @@ def x2sys_cross(
"""
output_type = validate_output_table_type(output_type, outfile=outfile)

file_contexts = []
file_contexts: list[contextlib.AbstractContextManager[Any]] = []
for track in tracks:
match data_kind(track):
case "file":
Expand Down

0 comments on commit 58c6ea4

Please sign in to comment.