From 6d1611bafa9d2d2d26b31d47372b1b633eb22514 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Sun, 2 Jul 2023 13:42:42 +0200 Subject: [PATCH] Correct the command to run mypy in flake --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index aaf1bd2..2cdee1f 100644 --- a/flake.nix +++ b/flake.nix @@ -68,7 +68,7 @@ checkInputs = [ pkgs.inventoryDevEnv ]; checkPhase = '' mkdir -p $out - mypy src/ + cd src/ && mypy --config-file=../pyproject.toml . flake8 . --count --show-source --statistics ''; };