microsoft / microsoft/vscode-mypy
`mypy-type-checker.cwd` conflicting documentation
@Devdiv-VR is already working on this.
Since Feb 9, 2026.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.