mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-10-30 02:11:33 +00:00
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.
18 lines
531 B
TOML
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"]
|