Skip to content

dev deps: not a bug, but do not suggest "mypy" when I have "ty" #26116

Description

Type: Bug

In my pyproject.toml, I use
dev = [
# REQ.DEV.DEPS: External packages used for linting, testing, type checking, etc.
"pre-commit", # WHY: Pre-commit hooks for consistent formatting and linting.
"pytest", # WHY: Test framework for unit and integration tests.
"pytest-cov", # WHY: Test coverage reporting for quality metrics and CI gating.
"ruff", # WHY: Fast linting and formatting for Python code.
"ty", # WHY: Type checking for static analysis and type safety.
]
and it wants to suggest "mypy" instead of the new "ty". Please don't suggest going backwards for me and my students. Thank you.

VS Code version: Code 1.133.0 (a5b500951314efd502d07465bd138dfbd714a960, 2026-08-11T22:14:08Z)
OS version: Windows_NT x64 10.0.26200
Modes:

Activity

  1. eleanorjboyd commented on Sep 23, 2026

    @eleanorjboyd
    Member

    🤖 Thanks for the context. Could you share a screenshot of the mypy suggestion and say where it appears, including whether hovering it identifies the extension that provides it? That will let us determine which component should recognize the existing ty dependency. Issues marked info-needed automatically close after 30 days without a reply.

  2. denisecase commented on Sep 24, 2026

    @denisecase
    Author

    I think it's gotten used to ty now - I'm on an updated version and I don't get that recommending mypy behavior anymore. Looks like it's already fixed. Thank you - excellent cross-platform editor. :)

    Version: 1.138.0 (user setup)
    Commit: 7debcd0e2acdea1c52de81bf9ee1620444407dda
    Date: 2026-09-15T07:24:32Z
    Electron: 42.10.0
    ElectronBuildId: 15109253
    Chromium: 148.0.7778.280
    Node.js: 24.18.1
    V8: 14.8.178.38-electron.0
    @github/copilot: 1.0.84-4
    @github/copilot-sdk: 1.0.13
    OS: Windows_NT x64 10.0.26200

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

Metadata

Metadata

Labels

triage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions