- Remove agent/agent.md (dev-time agent context dumps), .DS_Store, committed venv configs (pyvenv.cfg), 0-byte runtime cache - Remove hardcoded /home/userpath from cron_scraper feed lookup - Replace ad-hoc test_implementation.py with pytest tests/test_scraper_cache.py - ruff clean (33 fixes: bare excepts, unused Config, whitespace) - Root pyproject.toml (activates shared Gitea CI), MIT LICENSE, README Tests
49 lines
1.1 KiB
TOML
49 lines
1.1 KiB
TOML
[project]
|
|
name = "stockdocs"
|
|
version = "1.0.0"
|
|
description = "Financial news analysis platform: RSS scraping, AI processing, embeddings, and MCP server"
|
|
readme = "README.md"
|
|
requires-python = ">=3.9"
|
|
license = { text = "MIT" }
|
|
authors = [{ name = "Jarian Cottingham", email = "jarianc@proton.me" }]
|
|
keywords = ["finance", "news", "scraping", "nlp", "embeddings", "mcp"]
|
|
classifiers = [
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
]
|
|
dependencies = [
|
|
"feedparser>=6.0,<7.0",
|
|
"requests>=2.31,<3.0",
|
|
"beautifulsoup4>=4.12,<5.0",
|
|
"lxml>=5.0",
|
|
"nltk>=3.8",
|
|
"newspaper4k>=0.2.8,<0.3",
|
|
"selenium>=4.15",
|
|
"pandas>=2.0",
|
|
"pyyaml>=6.0",
|
|
"tqdm>=4.64",
|
|
"tldextract>=5.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0",
|
|
"ruff>=0.1.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py39"
|
|
exclude = [".git", "articles", "ai_processor/ai_processor"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|