-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugtriage-needed
Description
Diagnostic Data
- Python version (& distribution if applicable, e.g., Anaconda): Python 3.12.8
- Type of virtual environment used (e.g., conda, venv, virtualenv, etc.): venv (via poetry)
- Operating system (and version): MacOS 15.3.2
- Version of tool extension you are using: 2025.2.0
Behaviour
Expected Behavior
ignorePatterns should be applied when mypy-type-checker.reportingScope is set to workspace.
Actual Behavior
ignorePatterns is not be applied when mypy-type-checker.reportingScope is set to workspace.
Reproduction Steps:
- create a workspace
- add a foo.py in the root, with a deliberate type error
- ensure
mypy-type-checker.reportingScopeis set tofile - observe a warning
- set
mypy-type-checker.ignorePatternsto["${workspaceFolder}/foo.py"](bewareignorePatternsglob is no longer relative to the project root #338, hence the${workspaceFolder}prefix) - observe the warning disappear
- set
mypy-type-checker.reportingScopetoworkspace - observe the warning return.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugtriage-needed