Correct setup for pylint

This commit is contained in:
Andreas Zweili 2023-07-10 19:09:37 +02:00
parent f6cb0f6873
commit fb7b9e7208
1 changed files with 2 additions and 1 deletions

View File

@ -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;