Skip to content

Commit

Permalink
chore(cov): update exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
pivoshenko committed Feb 8, 2025
1 parent c974398 commit 8ac8de6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/poetry_plugin_dotenv/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def info(self, msg: str) -> None:
def debug(self, msg: str) -> None:
"""Log a debug message."""

self._log(Style.DEBUG, msg)
self._log(Style.DEBUG, msg) # pragma: nocover

def warning(self, msg: str) -> None:
"""Log a warning message."""
Expand Down
2 changes: 1 addition & 1 deletion src/poetry_plugin_dotenv/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def load(self, event: ConsoleCommandEvent, *args, **kwargs) -> None: # type: ig
config = Config(working_dir)

if not isinstance(event.command, EnvCommand):
return
return # pragma: nocover

if config.ignore:
logger.warning("Not loading environment variables.")
Expand Down

0 comments on commit 8ac8de6

Please sign in to comment.