消除vscode安装pylint后提示的unused variable

vscode

  • 消除vscode安装pylint后提示的unused variable
  • 查看代码
  • 复制代码

消除vscode安装pylint后提示的unused variable

查看代码

把标记的那段代码放到你的vscode的setting.json文件里。
消除vscode安装pylint后提示的unused variable_第1张图片

复制代码

{
    "python.pythonPath": "C:\\Users\\intern\\AppData\\Local\\Programs\\Python\\Python37\\python.exe",
    "editor.fontSize": 28,

    "python.venvPath": "C:\\Users\\intern\\Envs",
    "python.venvFolders": [
        "envs",
        ".pyenv",
        ".direnv",
        ".env",
      ],
    "files.autoSave": "afterDelay",
    "editor.tabSize": 10,
    "terminal.integrated.fontSize": 23,
    "editor.accessibilityPageSize": 15,
    "python.linting.pylintArgs": [
      "--disable=E1101",
      "--disable=W,C"
    ]
}

你可能感兴趣的:(运维)