38 lines
834 B
TOML
38 lines
834 B
TOML
[build-system]
|
|
requires = ["setuptools>=69"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "scraping-wiki"
|
|
version = "0.1.0"
|
|
description = "Selenium scraper for the Wikipedia main page (Udemy 100 Days of Code)."
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
license = { text = "AGPL-3.0-or-later" }
|
|
dependencies = ["selenium>=4.20"]
|
|
|
|
[project.optional-dependencies]
|
|
dev = ["pytest>=8", "ruff>=0.5", "mypy>=1.10"]
|
|
|
|
[project.scripts]
|
|
scraping-wiki = "scraping_wiki.interaction:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["src"]
|
|
# The e2e tests come in a later milestone and need Docker.
|
|
addopts = "--ignore=tests/e2e"
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "B", "UP"]
|
|
|
|
[tool.mypy]
|
|
strict = true
|
|
mypy_path = "src"
|