[VSCode] Python ワークスペースの最小設定

settings.jsonや"project".code-workspaceファイルに記述する内容。

対象環境:VScode + Python + Pylint + Pylance

変数やパラメータが多い系とかちょっと長いよ系のメッセージは意図してそうコードを書いている場合もあるので良いけど、それ以外のメッセージが出力されるのは基本的にPythonのコードとしての考え方が間違えている可能性大(プロジェクトの規約や下位互換を意識して書いている場合を除く)
{
    "outline.collapseItems": "alwaysCollapse",
    "editor.rulers": [
        79, 99,
    ],
    "files.trimTrailingWhitespace": true,
    "[markdown]": {
        "files.trimTrailingWhitespace": false
    },
    "editor.fontFamily": "'UDEV Gothic JPDOC', 'Migu 1M Regular', 'MS Gothic', 'Osaka-Mono', monospace",
    "terminal.integrated.fontFamily": "'UDEV Gothic JPDOC', 'Migu 1M Regular', 'MS Gothic', 'Osaka-Mono', monospace",
    "debug.console.fontFamily": "'UDEV Gothic JPDOC', 'Migu 1M Regular', 'MS Gothic', 'Osaka-Mono', monospace",
    "files.exclude": {
        ".venv": true,
        ".vscode": true,
        "**/__pycache__": true
    },
    "python.analysis.typeCheckingMode": "strict",
    "python.analysis.diagnosticSeverityOverrides": {
        "deprecateTypingAliases": true,          // 3.8以前の古い型記述を検出

        "reportUnnecessaryTypeIgnoreComment": "warning",
        // "reportImplicitOverride": "warning",  // 3.12以降で有効にする
        "reportMissingSuperCall": "warning",
        "reportPropertyTypeMismatch": "warning",

        "reportUninitializedInstanceVariable": "error",
    },
    "pylint.args": [
        "--notes=NOTE,",
        "--disable=consider-using-f-string, too-few-public-methods",
    ],
    "pylint.severity": {
        "refactor": "Information"  // 黄色波線の内容を問題タブに表示させる
    },
}