← back to Exo
Made basedpyright work with Jetbrains environment
81060b7062a6a7dd786f030696ffae1d855792a9 · 2025-07-23 14:12:11 +0100 · Andrei Cravtov
Co-authored-by: Gelu Vrabie <gelu@exolabs.net>
Co-authored-by: Seth Howes <sethshowes@gmail.com>
Co-authored-by: Matt Beton <matthew.beton@gmail.com>
Files touched
A .envrcM .gitignoreM .idea/pyright-overrides.xmlM .idea/pyright.xmlM flake.nix
Diff
commit 81060b7062a6a7dd786f030696ffae1d855792a9
Author: Andrei Cravtov <the.andrei.cravtov@gmail.com>
Date: Wed Jul 23 14:12:11 2025 +0100
Made basedpyright work with Jetbrains environment
Co-authored-by: Gelu Vrabie <gelu@exolabs.net>
Co-authored-by: Seth Howes <sethshowes@gmail.com>
Co-authored-by: Matt Beton <matthew.beton@gmail.com>
---
.envrc | 1 +
.gitignore | 5 ++++-
.idea/pyright-overrides.xml | 1 +
.idea/pyright.xml | 2 --
flake.nix | 4 ----
5 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/.envrc b/.envrc
new file mode 100644
index 00000000..8392d159
--- /dev/null
+++ b/.envrc
@@ -0,0 +1 @@
+use flake
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index 4cf7c64f..8ac70684 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,7 @@
__pycache__
*.so
-hosts_*.json
\ No newline at end of file
+hosts_*.json
+
+# hide direnv stuff
+/.direnv
\ No newline at end of file
diff --git a/.idea/pyright-overrides.xml b/.idea/pyright-overrides.xml
index 6fa46f1d..9216c0c4 100644
--- a/.idea/pyright-overrides.xml
+++ b/.idea/pyright-overrides.xml
@@ -3,6 +3,7 @@
<component name="com.insyncwithfoo.pyright.configurations.Override">
<option name="names">
<map>
+ <entry key="configurationFile" value="true" />
<entry key="diagnosticMode" value="true" />
<entry key="inlayHintsGenericTypes" value="true" />
<entry key="prefixTooltipMessages" value="true" />
diff --git a/.idea/pyright.xml b/.idea/pyright.xml
index f3d73271..9f3391a8 100644
--- a/.idea/pyright.xml
+++ b/.idea/pyright.xml
@@ -4,8 +4,6 @@
<option name="diagnosticMode" value="WORKSPACE" />
<option name="inlayHintsGenericTypes" value="true" />
<option name="prefixTooltipMessages" value="true" />
- <option name="smartExecutableResolution" value="true" />
- <option name="smartLanguageServerExecutableResolution" value="true" />
<option name="useEditorFontForTooltips" value="true" />
</component>
</project>
\ No newline at end of file
diff --git a/flake.nix b/flake.nix
index ae20e4e2..31f2b0c5 100644
--- a/flake.nix
+++ b/flake.nix
@@ -86,11 +86,7 @@
] ++ buildInputs ++ nativeBuildInputs;
# fixes libstdc++.so issues and libgl.so issues
-# LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH";
LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib";
-
- # exports basedpyright path so tools can discover it
- BASEDPYRIGHT_BIN_PATH = "${pkgs.basedpyright}/bin/";
};
}
);
← 8d2536d9 Implemented basic discovery library in Rust + python binding
·
back to Exo
·
Refactor tasks / commands / api 7ac23ce9 →