Skip to content

Name the Mypy Suppression Mechanisms Beside Pyright's in python-codestyle #2004

Closed

Description

@ptr727

Problem

The python-codestyle skill names only pyright mechanisms for relaxing type-check strictness:

  • .agents/skills/python-codestyle/SKILL.md, the type-checking baseline paragraph, relaxes third-party strictness only through "a targeted, commented # pyright: ignore[...] or a scoped [tool.pyright] override".
  • .agents/skills/python-codestyle/references/code-style.md, the # type: ignore bullet, configures a recurring false-positive suppression "project-wide in [tool.pyright]".

The #1941 change makes mypy strict a first-class choice as a build directory's only CI checker. In that directory CI never runs pyright, so neither mechanism suppresses the mypy error failing the gate. The mypy equivalents, a [[tool.mypy.overrides]] entry and # type: ignore[<code>], are never mentioned. The same gap applies to relaxing a test tree under mypy's strict flags, which is done flag by flag in an override.

Expected

Each passage names the mechanism for whichever checker is the CI gate, the pyright form and the mypy form side by side.

Found by a local strict review pass on the #1941 change. It predates that change.

Activity

  1. ptr727 commented on Oct 23, 2026

    @ptr727
    OwnerAuthor

    Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391: the backlog keeps real bugs with a stated failure, features the maintainer wants, and open decisions. A finding the review loop filed on code or text a change did not touch, a refactor or consolidation chore, a tracker, a wording item, or a guard shape no session has produced is closed rather than worked. Reopen with the input and the wrong result if this issue states one.

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