Skip to content

Commit

Permalink
Exclude TYPE_CHECKING blocks from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Aug 14, 2023
1 parent 4bac827 commit f33c557
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ixmp/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from ixmp.backend import ItemType

if TYPE_CHECKING:
if TYPE_CHECKING: # pragma: no cover
from ixmp import TimeSeries

log = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion ixmp/utils/sphinx_linkcode_github.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

from sphinx.util import logging

if TYPE_CHECKING:
if TYPE_CHECKING: # pragma: no cover
import sphinx.application

log = logging.getLogger(__name__)
Expand Down

0 comments on commit f33c557

Please sign in to comment.