pyproject.toml•2.05 kB
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mcp-news-collector"
version = "0.1.0"
description = "MCP server for Korean stock market news collection and analysis"
authors = [
{name = "News Collector Team", email = "team@newscollector.com"}
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"mcp>=1.0.0",
"aiohttp>=3.9.0",
"beautifulsoup4>=4.12.0",
"lxml>=4.9.0",
"sqlalchemy>=2.0.0",
"psycopg2-binary>=2.9.0",
"alembic>=1.13.0",
"asyncio-throttle>=1.0.0",
"asyncpg>=0.29.0",
"pandas>=2.1.0",
"numpy>=1.24.0",
"structlog>=23.2.0",
"pydantic>=2.5.0",
"python-dotenv>=1.0.0",
"python-dateutil>=2.8.0",
"pytz>=2023.3",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"black>=23.0.0",
"isort>=5.12.0",
"flake8>=6.0.0",
"mypy>=1.6.0",
"factory-boy>=3.3.0",
"freezegun>=1.2.0",
"responses>=0.23.0",
]
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q --cov=src --cov-report=term-missing"
testpaths = ["tests"]
asyncio_mode = "auto"
[tool.black]
line-length = 88
target-version = ['py311']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 88
known_first_party = ["src"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_no_return = true
warn_unreachable = true
strict_equality = true
[[tool.mypy.overrides]]
module = [
"mcp.*",
"beautifulsoup4.*",
"lxml.*",
"factory_boy.*",
"responses.*",
]
ignore_missing_imports = true