Skip to content

Drop docker_lint.py's Import of local_review.py So the Lint Tasks Fetch No Companions #4072

Closed

Description

@ptr727

Decision

Answered by the maintainer, 2026-11-11. scripts/docker_lint.py stops importing scripts/local_review.py, so its companion list in hub_fetch_run.py empties.

#1147, built in #4069, has each repository's carried Lint tasks fetch scripts/docker_lint.py through hub_fetch_run.py, with a COMPANIONS list (scripts/local_review.py, spec/git_env.py) the helper fetches beside it. That list must change whenever a hub script the task reaches gains an import. Two local review passes on #4069 raised that upkeep, and the imported code serves one git rev-parse call.

Done when

  • docker_lint.py runs that one call itself, through the same git environment handling, with no import from local_review.py or spec/.
  • Its COMPANIONS entry is removed, and anything that names it is updated: tests, RESYNC.md step 6's re-copy note, and GOVERNANCE.md.
  • A test fails if docker_lint.py imports a hub module again.

Activity

  1. added
    enhancement
    on Nov 11, 2026
  2. ptr727 commented on Nov 11, 2026

    @ptr727
    OwnerAuthor

    Backlog burndown claim, round 3 (2026-11-11). Branch feature/lint-helper-no-companions, group: #4072, #3915, #4059, #4071.

    Predicted files:

    • scripts/docker_lint.py
    • tests/test_docker_lint.py
    • catalog/snippets/hub_fetch_run.py
    • tests/test_hub_fetch_run.py
    • RESYNC.md
    • GOVERNANCE.md
    • scripts/README.md
    • catalog/snippets/configs/vscode-tasks-python.json
    • .vscode/tasks.json
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions