SurfSense/scripts/release_stats/pyproject.toml
DESKTOP-RTLN3BA\$punk 21e04825fe ci(release-stats): save GitHub asset counts and traffic daily
A daily job reads every release's per-asset download counts and, when
RELEASE_STATS_TOKEN has push access, the 14-day traffic GitHub otherwise
drops. It keeps the snapshot as a 90-day artifact and, with
POSTHOG_PROJECT_API_KEY set, sends personless events classified by which
client fetches each asset.
2026-10-21 16:19:33 -07:00

18 lines
531 B
TOML

# The job itself is stdlib only and needs no install. This file configures the
# tests, which need only pytest: `python -m pytest` from this folder.
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["tests"]
addopts = "-v --tb=short -ra --strict-markers --import-mode=importlib"
[tool.ruff]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I", "N", "UP", "B", "C4", "T20", "SIM", "RUF"]
ignore = ["T201"]
[tool.ruff.lint.isort]
known-first-party = ["release_stats", "tests"]