vscode-extensions.ms-python.mypy-type-checker: do not set default mypy path (#380338)

This commit is contained in:
Pol Dellaiera
2025-02-08 13:22:39 +01:00
committed by GitHub
@@ -1,9 +1,6 @@
{
lib,
vscode-utils,
mypy,
jq,
moreutils,
}:
vscode-utils.buildVscodeMarketplaceExtension {
@@ -14,17 +11,6 @@ vscode-utils.buildVscodeMarketplaceExtension {
hash = "sha256-boKUxLOAgQJP13zX/NMhg1MtcrPVQJt5gLbxI7gVSu4=";
};
buildInputs = [ mypy ];
nativeBuildInputs = [
jq
moreutils
];
postInstall = ''
jq '.contributes.configuration.properties."mypy-type-checker.path".default = "${lib.getExe mypy}"' $out/$installPrefix/package.json | sponge $out/$installPrefix/package.json
'';
meta = {
changelog = "https://github.com/microsoft/vscode-mypy/releases";
description = "VSCode extension for type checking support for Python files using Mypy";