Skip to content

Adopt the Lint-Only Python Profile or Record Why Python Is Not Tracked #356

Closed

Description

@ptr727

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.

🤖 Generated with Claude Code

Activity

  1. added
    decision
    on Oct 1, 2026
  2. ptr727 commented on Oct 1, 2026

    @ptr727
    OwnerAuthor

    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.

  3. removed
    decision
    on Oct 1, 2026
  4. ptr727 commented on Oct 1, 2026

    @ptr727
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions