zotero-addons-scraper/pyproject.toml
2025-12-23 16:22:54 +08:00

49 lines
1.0 KiB
TOML

[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "zotero-addons-scraper"
version = "2.0.0"
description = "Scrape Zotero addon information from GitHub"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
dependencies = [
"requests>=2.28.0",
"commentjson>=0.9.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-mock>=3.10.0",
"requests-mock>=1.11.0",
"mypy>=1.0.0",
"ruff>=0.1.0",
]
[project.scripts]
zotero-scraper = "zotero_scraper.__main__:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --cov=src/zotero_scraper --cov-report=term-missing"
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[tool.ruff]
line-length = 88
target-version = "py310"
select = ["E", "F", "I", "N", "W", "UP"]