vscodium/mypy: use bundled mypy

works around compatibility issues between mypy package and (old)
extension
This commit is contained in:
Trolli Schmittlauch 2026-02-18 01:33:44 +01:00
parent 86199f194d
commit 213cb3a10d

View file

@ -93,9 +93,9 @@
"python.experiments.enabled" = false;
"python.languageServer" = "Jedi"; # don't use proprietary pylance server
"python.defaultInterpreterPath" = lib.getExe defaultPython;
"mypy-type-checker.path" = [ "${pkgs.python3Packages.mypy}/bin/dmypy" ];
#"mypy-type-checker.path" = [ "${pkgs.python3Packages.mypy}/bin/dmypy" ];
"mypy-type-checker.preferDaemon" = true;
"mypy-type-checker.importStrategy" = "fromEnvironment";
#"mypy-type-checker.importStrategy" = "fromEnvironment";
"mypy-type-checker.args" = [ "--ignore-missing-imports" ];
"ruff.path" = [ (lib.getExe pkgs.ruff) ];
"gitlens.telemetry.enabled" = false;