Skip to content

Commit b8b54a4

Browse files
authored
TYP: Remove unnecessary 'from __future__ import annotations' statements (#3386)
1 parent b468769 commit b8b54a4

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

pygmt/src/shift_origin.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
shift_origin - Shift plot origin in x and/or y directions.
33
"""
44

5-
from __future__ import annotations
6-
75
from pygmt.clib import Session
86

97

pygmt/src/solar.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
solar - Plot day-night terminators and twilight.
33
"""
44

5-
from __future__ import annotations
6-
75
from typing import Literal
86

97
import pandas as pd

pygmt/src/timestamp.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,13 @@
22
timestamp - Plot the GMT timestamp logo.
33
"""
44

5-
from __future__ import annotations
6-
75
import warnings
8-
from typing import TYPE_CHECKING
6+
from collections.abc import Sequence
97

108
from packaging.version import Version
119
from pygmt.clib import Session, __gmt_version__
1210
from pygmt.helpers import build_arg_list, kwargs_to_strings
1311

14-
if TYPE_CHECKING:
15-
from collections.abc import Sequence
16-
17-
1812
__doctest_skip__ = ["timestamp"]
1913

2014

0 commit comments

Comments
 (0)