diff --git a/.gitignore b/.gitignore index 8ed2d10..c13c3e2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,7 @@ dist +__pycache__ *.py[cod] +.coverage.* +.*_cache +.pre-commit-config.yaml +.vscode diff --git a/flake.nix b/flake.nix index de21b0f..cb38573 100644 --- a/flake.nix +++ b/flake.nix @@ -36,9 +36,13 @@ echo "welcome to your python project >~(:)=====--" 1>&2 ''; nativeBuildInputs = builtins.attrValues { - inherit (pkgs) - hatch + inherit (pkgs.python311Packages) + hatchling + tomli ; + hatch = pkgs.hatch.override { + python3 = pkgs.python311; + }; }; buildInputs = builtins.attrValues { inherit (pkgs) @@ -47,6 +51,9 @@ pyright ruff ; + inherit (pkgs.python311Packages) + ipython + ; }; }; };