Skip to content

Commit cbbda7a

Browse files
authored
Update VSCode settings (#4)
This PR updates the .vscode/settings.json file to reflect the changes we have made to linting and typechecking.
1 parent 836ebc0 commit cbbda7a

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

.vscode/settings.json

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -233,20 +233,19 @@
233233
"中文",
234234
"日本語"
235235
],
236-
"flake8.args": [
237-
"--max-line-length=130",
238-
],
239236
"git.ignoreLimitWarning": true,
240-
"python.analysis.typeCheckingMode": "basic",
241237
"python.analysis.diagnosticMode": "workspace",
242-
"python.analysis.exclude": [
243-
"addon/globalPlugins/MathCAT/yaml",
244-
],
245-
"python.analysis.diagnosticSeverityOverrides": {
246-
"reportMissingImports": "none"
247-
},
248-
"triggerTaskOnSave.tasks": {
249-
"flake8-whole-project": ["**/*.*py"]
250-
},
251-
"cmake.configureOnOpen": false
252-
}
238+
"python.languageServer": "Pylance",
239+
240+
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
241+
242+
"python.linting.enabled": true,
243+
"python.linting.ruffEnabled": true,
244+
"python.linting.ruffPath": "ruff",
245+
246+
"python.linting.pylintEnabled": false,
247+
"python.linting.flake8Enabled": false,
248+
"python.linting.mypyEnabled": false,
249+
250+
"cmake.configureOnOpen": false,
251+
}

0 commit comments

Comments
 (0)