54 lines
1.1 KiB
TOML
54 lines
1.1 KiB
TOML
[project]
|
|
name = "link-building-workflow"
|
|
version = "0.1.0"
|
|
description = "CORA xlsx -> Big-Link-Man link building pipeline, extracted from CheddahBot for Paperclip"
|
|
requires-python = ">=3.11"
|
|
dependencies = []
|
|
|
|
[build-system]
|
|
requires = ["uv_build>=0.9,<1"]
|
|
build-backend = "uv_build"
|
|
|
|
[tool.uv.build-backend]
|
|
module-root = "src"
|
|
|
|
[dependency-groups]
|
|
dev = [{ include-group = "lint" }, { include-group = "test" }]
|
|
lint = ["ruff"]
|
|
test = ["pytest", "pytest-cov"]
|
|
|
|
[tool.uv]
|
|
default-groups = ["dev", "test"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = [
|
|
"-ra",
|
|
"--strict-markers",
|
|
"--strict-config",
|
|
"--cov=link_building_workflow",
|
|
"--cov-report=term-missing",
|
|
]
|
|
|
|
[tool.coverage.run]
|
|
branch = true
|
|
source = ["link_building_workflow"]
|
|
|
|
[tool.coverage.report]
|
|
exclude_lines = [
|
|
"pragma: no cover",
|
|
"if TYPE_CHECKING:",
|
|
"if __name__ == .__main__.:",
|
|
]
|
|
show_missing = true
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B", "SIM", "RUF"]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"tests/**/*.py" = ["S101", "PLR2004", "ANN"]
|