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
99 stars 18 forks source link

Can the log-file be made configurable? #92

Open juandiegopalomino opened 5 months ago

juandiegopalomino commented 5 months ago

We'd like to define a custom location for the logs to go to as our architecture is setup to look in specific pre-determined location for the mypy logs. If it could be exposed as a setting that would be awesome!

Example in settings.json

{
    "mypy.dmypyExecutable": "${workspaceFolder}/.venv/bin/dmypy",
    "mypy.configFile": "/path/to/pyproject.toml",
    "mypy.targets": [
        "app"
    ],
   "mypy.logFile": "/path/to/.dmypy.log",
}
matangover commented 3 months ago

Sounds like a reasonable request, although what are you using the logs of the daemon for? They are usually empty as far as I know