When using the Mypy linter, our standard is to have a mypy.ini in the project's root with a bunch of config values. Currently we have our developers use this setting for vscode:
"python.linting.mypyArgs": [
"--config-file=${workspaceFolder}/mypy.ini"
]
However, if a project doesn't have a mypy.ini file linting fails silently (which can cause a lot of issues as a dev might think that mypy worked fine).
I think that auto-detecting and using the mypy.ini file should be a part of the plugin itself.