matangover / mypy-vscode

VS Code extension that provides type checking and analysis for Python code using mypy.
https://marketplace.visualstudio.com/items?itemName=matangover.mypy
Other
95 stars 16 forks source link

Can the status file be made configurable? #93

Open juandiegopalomino opened 3 months ago

juandiegopalomino commented 3 months ago

We have another system that might be attempting to run dmypy, but for the exact same project. What would really help not having duplicate dmypys is if we can specify a status file and then this extension uses the "shared" dmypy instance.

Example in settings.json

{
    "mypy.dmypyExecutable": "${workspaceFolder}/.venv/bin/dmypy",
    "mypy.configFile": "/path/to/pyproject.toml",
    "mypy.targets": [
        "app"
    ],
   "mypy.statusFile": "/path/to/.dmypy.json",
}
matangover commented 1 month ago

Sorry for the delay. This sounds like a reasonable feature request.