mirror of
https://github.com/BoPeng/ai-marketplace-monitor.git
synced 2025-12-23 22:28:18 -05:00
release version 0.9.7
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
readme = "README.md"
|
||||
name = "ai-marketplace-monitor"
|
||||
version = "0.9.6"
|
||||
version = "0.9.7"
|
||||
description = "An AI-based tool for monitoring facebook marketplace"
|
||||
authors = [{ name = "Bo Peng", email = "ben.bob@gmail.com" }]
|
||||
requires-python = ">=3.10"
|
||||
@@ -73,7 +73,7 @@ docs = [
|
||||
"myst-parser>=3.0.0",
|
||||
"sphinx-copybutton>=0.5.2",
|
||||
"sphinxext-opengraph>=0.9.0",
|
||||
"linkify-it-py>=2.0.0"
|
||||
"linkify-it-py>=2.0.0",
|
||||
]
|
||||
|
||||
[tool.coverage.paths]
|
||||
@@ -103,12 +103,12 @@ directory = "htmlcov"
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_mode = "auto"
|
||||
filterwarnings = [
|
||||
# Suppress AsyncMock coroutine warnings in Telegram notification tests
|
||||
# These warnings occur when testing sync methods that wrap async operations with asyncio.run()
|
||||
# The coroutines are properly handled by asyncio.run() but pytest's garbage collection
|
||||
# triggers warnings for the mock coroutines that were never directly awaited
|
||||
"ignore::RuntimeWarning:_pytest.unraisableexception",
|
||||
"ignore:coroutine.*was never awaited:RuntimeWarning",
|
||||
# Suppress AsyncMock coroutine warnings in Telegram notification tests
|
||||
# These warnings occur when testing sync methods that wrap async operations with asyncio.run()
|
||||
# The coroutines are properly handled by asyncio.run() but pytest's garbage collection
|
||||
# triggers warnings for the mock coroutines that were never directly awaited
|
||||
"ignore::RuntimeWarning:_pytest.unraisableexception",
|
||||
"ignore:coroutine.*was never awaited:RuntimeWarning",
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
@@ -218,9 +218,5 @@ requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pytest-asyncio>=1.1.0",
|
||||
]
|
||||
test = [
|
||||
"pytest-asyncio>=1.1.0",
|
||||
]
|
||||
dev = ["pytest-asyncio>=1.1.0"]
|
||||
test = ["pytest-asyncio>=1.1.0"]
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
__author__ = """Bo Peng"""
|
||||
__email__ = "ben.bob@gmail.com"
|
||||
__version__ = "0.9.6"
|
||||
__version__ = "0.9.7"
|
||||
|
||||
@@ -13,7 +13,7 @@ from ai_marketplace_monitor.user import User
|
||||
|
||||
def test_version(version: str) -> None:
|
||||
"""Sample pytest test function with the pytest fixture as an argument."""
|
||||
assert version == "0.9.6"
|
||||
assert version == "0.9.7"
|
||||
|
||||
|
||||
def test_listing_cache(temp_cache: Cache, listing: Listing) -> None:
|
||||
|
||||
Reference in New Issue
Block a user