{// Arguments passed in. Each argument is a separate item in the array."python.sortImports.args":[],// Path to isort script, default using inner version"python.sortImports.path":"",}
{// Arguments passed in. Each argument is a separate item in the array."python.formatting.autopep8Args":[],// Path to autopep8, you can use a custom version of autopep8 by modifying this setting to include the full path."python.formatting.autopep8Path":"autopep8",// Arguments passed in. Each argument is a separate item in the array."python.formatting.blackArgs":[],// Path to Black, you can use a custom version of Black by modifying this setting to include the full path."python.formatting.blackPath":"black",// Provider for formatting. Possible options include 'autopep8', 'black', and 'yapf'."python.formatting.provider":"autopep8",// Arguments passed in. Each argument is a separate item in the array."python.formatting.yapfArgs":[],// Path to yapf, you can use a custom version of yapf by modifying this setting to include the full path."python.formatting.yapfPath":"yapf",}
{// 全局设置包括以下四个// Whether to lint Python files."python.linting.enabled":true,// Patterns used to exclude files or folders from being linted."python.linting.ignorePatterns":[".vscode/*.py","**/site-packages/**/*.py"],// Whether to lint Python files when saved."python.linting.lintOnSave":true,// Controls the maximum number of problems produced by the server."python.linting.maxNumberOfProblems":100,// 而工具的配置这里就以pylint/flake8/mypy为例罗列一下,其实也没啥花头// Arguments passed in. Each argument is a separate item in the array."python.linting.flake8Args":[],// Severity of Flake8 message type 'E'."python.linting.flake8CategorySeverity.E":"Error",// Severity of Flake8 message type 'F'."python.linting.flake8CategorySeverity.F":"Error",// Severity of Flake8 message type 'W'."python.linting.flake8CategorySeverity.W":"Warning",// Whether to lint Python files using flake8"python.linting.flake8Enabled":false,// Arguments passed in. Each argument is a separate item in the array."python.linting.mypyArgs":["--ignore-missing-imports","--follow-imports=silent","--show-column-numbers"],// Severity of Mypy message type 'Error'."python.linting.mypyCategorySeverity.error":"Error",// Severity of Mypy message type 'Note'."python.linting.mypyCategorySeverity.note":"Information",// Whether to lint Python files using mypy."python.linting.mypyEnabled":false,// Path to mypy, you can use a custom version of mypy by modifying this setting to include the full path."python.linting.mypyPath":"mypy",// Arguments passed in. Each argument is a separate item in the array."python.linting.pylintArgs":[],// Severity of Pylint message type 'Convention/C'."python.linting.pylintCategorySeverity.convention":"Information",// Severity of Pylint message type 'Error/E'."python.linting.pylintCategorySeverity.error":"Error",// Severity of Pylint message type 'Fatal/F'."python.linting.pylintCategorySeverity.fatal":"Error",// Severity of Pylint message type 'Refactor/R'."python.linting.pylintCategorySeverity.refactor":"Hint",// Severity of Pylint message type 'Warning/W'."python.linting.pylintCategorySeverity.warning":"Warning",// Whether to lint Python files using pylint."python.linting.pylintEnabled":true,// Path to Pylint, you can use a custom version of pylint by modifying this setting to include the full path."python.linting.pylintPath":"pylint",// Whether to run Pylint with minimal set of rules."python.linting.pylintUseMinimalCheckers":true,}