From fb7b9e7208908847e4220ccef92ca41f93421225 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Mon, 10 Jul 2023 19:09:37 +0200 Subject: [PATCH] Correct setup for pylint --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index c5c268e..cf56b93 100644 --- a/flake.nix +++ b/flake.nix @@ -68,9 +68,10 @@ checkInputs = [ pkgs.inventoryDevEnv ]; checkPhase = '' mkdir -p $out - pylint --errors-only src/ + pylint --rc-file pyproject.toml -j 0 -E src/ cd src/ && mypy --config-file=../pyproject.toml . ''; + DJANGO_SETTINGS_MODULE = "network_inventory.settings.ram_test"; }; tests = pkgs.stdenv.mkDerivation { dontPatch = true;