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.reportingScope is set to file
observe a warning
set mypy-type-checker.ignorePatterns to ["${workspaceFolder}/foo.py"] (beware ignorePatterns glob is no longer relative to the project root #338 , hence the ${workspaceFolder} prefix)
observe the warning disappear
set mypy-type-checker.reportingScope to workspace
observe the warning return.
Diagnostic Data
Behaviour
Expected Behavior
ignorePatternsshould be applied whenmypy-type-checker.reportingScopeis set toworkspace.Actual Behavior
ignorePatternsis not be applied whenmypy-type-checker.reportingScopeis set toworkspace.Reproduction Steps:
mypy-type-checker.reportingScopeis set tofilemypy-type-checker.ignorePatternsto["${workspaceFolder}/foo.py"](bewareignorePatternsglob is no longer relative to the project root #338, hence the${workspaceFolder}prefix)mypy-type-checker.reportingScopetoworkspace