Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mypy not working with the literal type #337

Open
JHZ5583233 opened this issue Jan 2, 2025 · 0 comments
Open

mypy not working with the literal type #337

JHZ5583233 opened this issue Jan 2, 2025 · 0 comments
Labels
bug Issue identified by VS Code Team member as probable bug triage-needed

Comments

@JHZ5583233
Copy link

Diagnostic Data

  • Python version (& distribution if applicable, e.g., Anaconda): <python 3.12.3>
  • Type of virtual environment used (e.g., conda, venv, virtualenv, etc.):
  • Operating system (and version):<ubuntu 24>
  • Version of tool extension you are using:<2024.1.13171012>

Behaviour

Expected Behavior

<when type checking literals it looking at what is within the [] for type checking.>

Actual Behavior

<the extension only reports a mismatch type and thinks that the argument needs to be the type literal. .>

Reproduction Steps:

@JHZ5583233 JHZ5583233 added the bug Issue identified by VS Code Team member as probable bug label Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug triage-needed
Projects
None yet
Development

No branches or pull requests

1 participant