You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Adopt the Lint-Only Python Profile or Record Why Python Is Not Tracked #356
Blog tracks Python in capture/, checks/, and scripts/, and two carried rules now ask for more than Blog provides.
The hub audit reports a registry drift: tracked .py files are present but the registry entry's types omits python. The remedy is declaring the type or recording a driftNote naming the reason Python is not tracked.
WORKFLOW.md D1.6, as carried by the hub resync, no longer exempts a lint-only profile from the coverage report, and D1.2 runs the Python gates per directory declared in python-directories. Blog declares none, keeps no pyproject.toml, and runs its unittest suites without coverage from .github/actions/validate/action.yml. capture/ has no tests/ directory, so declaring it as it stands fails the job.
Found by the hub resync's audit and its closing local review.
Done looks like either Blog adopting the lint-only Python profile (tool-config pyproject.toml, the directories declared to the hub validator, a test suite and coverage per directory, the hook comment about the missing root pyproject.toml updated) with python added to the registry types, or a registry driftNote recording why Python is not tracked.
Decided 2026-10-01 by the maintainer: adopt the lint-only Python profile, rather than recording a registry driftNote. The registry types change is a hub pull request, which still needs the maintainer's permission in the session that makes it.
Shape decided 2026-10-01 by the maintainer: checks/ takes the lint-only profile, scripts/ becomes a pip directory (a requirements.txt carrying the Pillow pin, pytest, and pytest-cov, plus a tool-config pyproject.toml with a --cov selector, the Pillow pin moving out of redact-media.py's inline header so it lives in one place), and capture/ stays undeclared, with the reason recorded, since it is one-shot migration tooling that has already run.
Activity
ptr727 commentedon Oct 1, 2026
Decided 2026-10-01 by the maintainer: adopt the lint-only Python profile, rather than recording a registry driftNote. The registry types change is a hub pull request, which still needs the maintainer's permission in the session that makes it.
ptr727 commentedon Oct 1, 2026
Shape decided 2026-10-01 by the maintainer:
checks/takes the lint-only profile,scripts/becomes a pip directory (arequirements.txtcarrying the Pillow pin, pytest, and pytest-cov, plus a tool-configpyproject.tomlwith a--covselector, the Pillow pin moving out ofredact-media.py's inline header so it lives in one place), andcapture/stays undeclared, with the reason recorded, since it is one-shot migration tooling that has already run.