Skip to content

Commit

Permalink
print version number
Browse files Browse the repository at this point in the history
  • Loading branch information
BoPeng committed Feb 3, 2025
1 parent 0b1cdb2 commit 3573c13
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ai-marketplace-monitor"
version = "0.6.1"
version = "0.6.2.dev"
description = "An AI-based tool for monitoring facebook marketplace"
authors = ["Bo Peng <[email protected]>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion src/ai_marketplace_monitor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__author__ = """Bo Peng"""
__email__ = "[email protected]"
__version__ = "0.6.1"
__version__ = "0.6.2.dev"
3 changes: 3 additions & 0 deletions src/ai_marketplace_monitor/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ def main(
logging.getLogger(logger_name).setLevel(logging.ERROR)

logger = logging.getLogger("monitor")
logger.info(
f"{hilight("[VERSION]", "info")} AI Marketplace Monitor, version {hilight(__version__, "name")}"
)

if items is not None:
try:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_ai_marketplace_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ def version() -> Generator[str, None, None]:

def test_version(version: str) -> None:
"""Sample pytest test function with the pytest fixture as an argument."""
assert version == "0.6.1"
assert version == "0.6.2.dev"

0 comments on commit 3573c13

Please sign in to comment.