Set up python environment for easier development

This commit is contained in:
Johan Sandoval
2026-07-21 19:01:11 -05:00
parent 4f15387a70
commit 78725a4eed
7 changed files with 72 additions and 3 deletions
+18
View File
@@ -0,0 +1,18 @@
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.${system}.default = pkgs.mkShell {
packages = with pkgs; [
python313
ruff # lint + format
basedpyright # LSP / type checking
python313Packages.pytest
entr
];
};
};
}