Skip to content

Commit 1afdd8c

Browse files
committed
Add missing __doctest_skip__ directive in some methods/functions
1 parent e16747e commit 1afdd8c

4 files changed

Lines changed: 7 additions & 0 deletions

File tree

pygmt/datasets/tile_map.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import numpy as np
2828
import xarray as xr
2929

30+
__doctest_skip__ = ["load_tile_map"]
3031
__doctest_requires__ = {("load_tile_map"): ["contextily"]}
3132

3233

pygmt/params/position.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
from pygmt.helpers import is_nonstr_iter
1313
from pygmt.params.base import BaseParam
1414

15+
__doctest_skip__ = ["Position"]
16+
1517

1618
@dataclasses.dataclass(repr=False)
1719
class Position(BaseParam):

pygmt/src/grdfilter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
from pygmt.clib import Session
1212
from pygmt.helpers import build_arg_list, fmt_docstring, use_alias
1313

14+
__doctest_skip__ = ["grdfilter"]
15+
1416

1517
@fmt_docstring
1618
@use_alias(D="distance", F="filter", N="nans", f="coltypes")

pygmt/src/shift_origin.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
from pygmt.clib import Session
88
from pygmt.helpers import build_arg_list
99

10+
__doctest_skip__ = ["shift_origin"]
11+
1012

1113
def shift_origin(
1214
self, xshift: float | str | None = None, yshift: float | str | None = None

0 commit comments

Comments
 (0)