mirror of
https://github.com/exo-explore/exo.git
synced 2025-12-23 22:27:50 -05:00
fix: Use Nix-compatible LSP set-up
This commit is contained in:
11
.vscode/extensions.json
vendored
Normal file
11
.vscode/extensions.json
vendored
Normal 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
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"basedpyright.importStrategy": "fromEnvironment"
|
||||||
|
}
|
||||||
@@ -24,6 +24,7 @@
|
|||||||
pkgs.protobuf
|
pkgs.protobuf
|
||||||
pkgs.rustc
|
pkgs.rustc
|
||||||
pkgs.cargo
|
pkgs.cargo
|
||||||
|
pkgs.basedpyright
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
2
justfile
2
justfile
@@ -20,7 +20,7 @@ test:
|
|||||||
uv run pytest master worker shared engines/*
|
uv run pytest master worker shared engines/*
|
||||||
|
|
||||||
check:
|
check:
|
||||||
uv run basedpyright --project pyproject.toml
|
basedpyright --project pyproject.toml
|
||||||
|
|
||||||
sync:
|
sync:
|
||||||
uv sync --all-packages
|
uv sync --all-packages
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ dependencies = [
|
|||||||
# dependencies only required for development
|
# dependencies only required for development
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
dev = [
|
dev = [
|
||||||
"basedpyright>=1.29.4",
|
|
||||||
"maturin>=1.9.0",
|
"maturin>=1.9.0",
|
||||||
"pytest>=8.4.0",
|
"pytest>=8.4.0",
|
||||||
"ruff>=0.11.13",
|
"ruff>=0.11.13",
|
||||||
|
|||||||
Reference in New Issue
Block a user