replace breakpoint() check with python lint

This commit is contained in:
Jörg Thalheim
2024-09-02 13:36:07 +02:00
parent e9a266001c
commit 4632e5d0d9
4 changed files with 1 additions and 27 deletions

View File

@@ -131,15 +131,6 @@ python3.pkgs.buildPythonApplication rec {
${pythonWithTestDeps}/bin/python -m pytest -s -m "not impure" ./tests
touch $out
'';
clan-app-no-breakpoints = runCommand "clan-app-no-breakpoints" { } ''
if grep --include \*.py -Rq "breakpoint()" ${source}; then
echo "breakpoint() found in ${source}:"
grep --include \*.py -Rn "breakpoint()" ${source}
exit 1
fi
touch $out
'';
};
};