1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-23 18:29:20 +01:00

Disable pyright type checking in VS Code (#160528)

This commit is contained in:
Erik Montnemery
2026-01-12 20:19:19 +01:00
committed by GitHub
parent 514b6e243c
commit 83f2c53e8c
2 changed files with 4 additions and 3 deletions

View File

@@ -40,7 +40,8 @@
"python.terminal.activateEnvInCurrentTerminal": true,
"python.testing.pytestArgs": ["--no-cov"],
"pylint.importStrategy": "fromEnvironment",
"python.analysis.typeCheckingMode": "basic",
// Pyright type checking is not compatible with mypy which Home Assistant uses for type checking
"python.analysis.typeCheckingMode": "off",
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,