mirror of
https://github.com/home-assistant/core.git
synced 2026-02-15 07:36:16 +00:00
Set Pyright level as basic by default for VS Code (#154495)
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
"python.terminal.activateEnvInCurrentTerminal": true,
|
||||
"python.testing.pytestArgs": ["--no-cov"],
|
||||
"pylint.importStrategy": "fromEnvironment",
|
||||
"python.analysis.typeCheckingMode": "basic",
|
||||
"editor.formatOnPaste": false,
|
||||
"editor.formatOnSave": true,
|
||||
"editor.formatOnType": true,
|
||||
|
||||
2
.vscode/settings.default.json
vendored
2
.vscode/settings.default.json
vendored
@@ -7,6 +7,8 @@
|
||||
"python.testing.pytestEnabled": false,
|
||||
// https://code.visualstudio.com/docs/python/linting#_general-settings
|
||||
"pylint.importStrategy": "fromEnvironment",
|
||||
// Pyright is too pedantic for Home Assistant
|
||||
"python.analysis.typeCheckingMode": "basic",
|
||||
"json.schemas": [
|
||||
{
|
||||
"fileMatch": [
|
||||
|
||||
Reference in New Issue
Block a user