Skip to content

State the Build Profile's CI Type Check as the Validator Runs It #2025

Closed

Description

@ptr727

Problem

.agents/skills/python-codestyle/SKILL.md describes the build profile's CI type check in ways the hub validator does not match.

  • The "Two profiles" bullet and the clean-compile paragraph say the CI type checker may be pyright, mypy, or both. .github/workflows/validate-task.yml's type-check step runs one checker per directory, and where a config declares both it runs mypy only, so a repo configuring both gets no pyright run in hub CI.
  • The clean-compile paragraph and the "Linter cleanliness" CI-gate bullet give the mypy command as uv run mypy src and call it the same command CI runs. The validator runs uv run --project <dir> <checker> with no src target unless the config sits in another directory, so a mypy config with no files setting passes locally with uv run mypy src and fails in CI with no target to check.

Done

The skill states what the validator actually runs, or the validator is changed to match the skill, whichever the committed rules settle.

Found by a local strict review pass on feature/auto-1947 (handoff #1981). The text is pre-existing, so it was filed rather than fixed on that branch.

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