diff --git a/templates/sci/.gitignore b/templates/sci/.gitignore index 06b2ab9..ee09f0d 100644 --- a/templates/sci/.gitignore +++ b/templates/sci/.gitignore @@ -1,2 +1,3 @@ data/* !data/.gitkeep +.venv diff --git a/templates/sci/flake.nix b/templates/sci/flake.nix index 99a206b..75b64b5 100644 --- a/templates/sci/flake.nix +++ b/templates/sci/flake.nix @@ -80,6 +80,11 @@ "--unset PYTHONPATH" ]; }; + bashBeforeWrapper = { + pydev = [ + "uv sync" + ]; + }; } ); @@ -97,7 +102,7 @@ enable = true; path = { value = "${pkgs.uv}/bin/uv"; - args = [ "--add-flags" "run marimo edit"]; + args = ["--add-flags" "run marimo edit"]; }; }; };