diff --git a/poetry_version_plugin/plugin.py b/poetry_version_plugin/plugin.py
index 947de43..35ef3af 100644
--- a/poetry_version_plugin/plugin.py
+++ b/poetry_version_plugin/plugin.py
@@ -3,7 +3,7 @@
from pathlib import Path
from typing import Any, Dict, Optional
-from cleo.io.io import IO
+from cleo.io.io import IO, Verbosity
from poetry.plugins.plugin import Plugin
from poetry.poetry import Poetry
from poetry.utils.helpers import module_name
@@ -50,7 +50,8 @@ def activate(self, poetry: Poetry, io: IO) -> None:
else:
io.write_line(
"poetry-version-plugin: Using __init__.py file at "
- f"{init_path} for dynamic version"
+ f"{init_path} for dynamic version",
+ verbosity=Verbosity.VERBOSE
)
tree = ast.parse(init_path.read_text())
for el in tree.body:
@@ -72,7 +73,8 @@ def activate(self, poetry: Poetry, io: IO) -> None:
io.write_line(
"poetry-version-plugin: Setting package "
"dynamic version to __version__ "
- f"variable from __init__.py: {version}"
+ f"variable from __init__.py: {version}",
+ verbosity=Verbosity.VERBOSE
)
poetry.package.set_version(version)
return
@@ -93,7 +95,8 @@ def activate(self, poetry: Poetry, io: IO) -> None:
tag = result.stdout.strip()
io.write_line(
"poetry-version-plugin: Git tag found, setting "
- f"dynamic version to: {tag}"
+ f"dynamic version to: {tag}",
+ verbosity=Verbosity.VERBOSE
)
poetry.package.set_version(tag)
return