microsoft / microsoft/vscode-mypy

`mypy-type-checker.cwd` conflicting documentation

Open
#300 0 comments 2 reactions 1 assignee View on GitHub

@Devdiv-VR is already working on this.

Since Feb 9, 2026.

bug triage-needed
Dominant language
Python
Stars
150
Forks
39
Avg merge
21h 45m
Merged PRs (30d)
8

Description

I have been trying to get this extension to work in a mono-repo. According to the README, this is supported by setting the mypy-type-checker.cwd setting to ${fileDirname}. This is described in two separate places in the README (Both in the 'Usage and Features' section and in the 'Settings' table in the description of mypy-type-checker.cwd).

However when I try to set this setting either in settings.json or in the ui, the extension crashes. I could also find conflicting information underneath the settings table, stating that there are only 4 valid substitutions for some of the mypy-type-checker settings, including the mypy-type-checker.cwd setting. ${fileDirname} is not one of those 4 substitutions.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.