Commit 0a08e85

HPCesia <me@hpcesia.com>
2025-12-24 11:02:45
feat: update python dev env
1 parent cf8ea40
Changed files (2)
modules
modules/dev/zed/languages/python.nix
@@ -0,0 +1,10 @@
+{
+  flake.modules.homeManager.dev-zed = _: {
+    programs.zed-editor.userSettings = {
+      languages.Python = {
+        format_on_save = "on";
+        language_servers = ["ty" "!basedpyright"];
+      };
+    };
+  };
+}
modules/dev/packages.nix
@@ -40,10 +40,10 @@
       lldb
 
       # -- Python
-      pipx # Install and Run Python Applications in Isolated Environments
       uv # Python package manager in rust
       pixi # Python package manager in rust, supports conda
-      ruff # Python LSP and formatter
+      ruff # Python Linter and formatter
+      ty # Python LSP and type checker
       python313
 
       #-- rust