Skip to content

Commit

Permalink
tests: Remove if TYPE_CHECKING: lines from test coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmav99 committed Feb 3, 2024
1 parent fa2ea99 commit 7c141e5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion thalassa/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# from holoviews import opts as hvopts

if T.TYPE_CHECKING:
if T.TYPE_CHECKING: # pragma: no cover
import bokeh.models
import geoviews
import holoviews
Expand Down
2 changes: 1 addition & 1 deletion thalassa/normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import pathlib
import typing

if typing.TYPE_CHECKING:
if typing.TYPE_CHECKING: # pragma: no cover
import xarray

from . import api
Expand Down
2 changes: 1 addition & 1 deletion thalassa/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import logging
from typing import TYPE_CHECKING

if TYPE_CHECKING:
if TYPE_CHECKING: # pragma: no cover
import geoviews
import shapely
import xarray
Expand Down
2 changes: 1 addition & 1 deletion thalassa/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import decorator


if T.TYPE_CHECKING:
if T.TYPE_CHECKING: # pragma: no cover
import geopandas
import geoviews
import holoviews
Expand Down

0 comments on commit 7c141e5

Please sign in to comment.