From c211bb11a2bc1d185ec77d0fd391861d8dc65770 Mon Sep 17 00:00:00 2001 From: mat ess Date: Fri, 11 Aug 2023 16:05:51 -0400 Subject: [PATCH] Housekeeping --- .gitignore | 5 +++++ flake.nix | 11 +++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) 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 + ; }; }; };