From fd5b23281c7e5b30de21cd4b367369a8069bec3e Mon Sep 17 00:00:00 2001 From: Andrei Cravtov Date: Tue, 7 Apr 2026 18:26:29 +0100 Subject: [PATCH] Workspace tweaks (#1849) ## Changes Mostly chore changes around vscode and jetbrains workspace settings, and some basedpyright settings tweaks, to allow direnv to work and nixd autocomplete with flake parts to work --- .envrc | 7 +++++ .idea/exo-v2.iml | 31 -------------------- .idea/externalDependencies.xml | 2 +- .idea/inspectionProfiles/Project_Default.xml | 14 --------- .idea/misc.xml | 3 -- .vscode/extensions.json | 3 +- .vscode/settings.json | 31 +++++++++++++++++++- dashboard/package-lock.json | 10 +++++++ flake.nix | 13 ++++---- python/parts.nix | 3 ++ 10 files changed, 60 insertions(+), 57 deletions(-) delete mode 100644 .idea/exo-v2.iml delete mode 100644 .idea/inspectionProfiles/Project_Default.xml diff --git a/.envrc b/.envrc index 3550a30f2..38cef425f 100644 --- a/.envrc +++ b/.envrc @@ -1 +1,8 @@ use flake + +# creates .venv if doesn't exist and loads its environment +export VIRTUAL_ENV=".venv" +if ! [ -d "./$VIRTUAL_ENV" ]; then + uv venv +fi +layout python diff --git a/.idea/exo-v2.iml b/.idea/exo-v2.iml deleted file mode 100644 index aa638174c..000000000 --- a/.idea/exo-v2.iml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/externalDependencies.xml b/.idea/externalDependencies.xml index 60785b21c..e56fc329f 100644 --- a/.idea/externalDependencies.xml +++ b/.idea/externalDependencies.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index 12df2a84d..000000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 4c4cf56c1..124c79a18 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -4,7 +4,4 @@