fix: Use Nix-compatible LSP set-up

This commit is contained in:
Arbion Halili
2025-07-14 21:08:43 +01:00
parent 74d56e52ff
commit 4e4dbf52ec
5 changed files with 16 additions and 2 deletions

11
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,11 @@
{
"recommendations": [
"detachhead.basedpyright",
"ms-python.python"
],
"unwantedRecommendations": [
"ms-python.vscode-pylance",
"ms-python.pyright",
"ms-python.mypy-type-checker"
]
}

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"basedpyright.importStrategy": "fromEnvironment"
}

View File

@@ -24,6 +24,7 @@
pkgs.protobuf
pkgs.rustc
pkgs.cargo
pkgs.basedpyright
];
};
}

View File

@@ -20,7 +20,7 @@ test:
uv run pytest master worker shared engines/*
check:
uv run basedpyright --project pyproject.toml
basedpyright --project pyproject.toml
sync:
uv sync --all-packages

View File

@@ -12,7 +12,6 @@ dependencies = [
# dependencies only required for development
[dependency-groups]
dev = [
"basedpyright>=1.29.4",
"maturin>=1.9.0",
"pytest>=8.4.0",
"ruff>=0.11.13",