We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
xenon
1 parent fa81566 commit 3588c45Copy full SHA for 3588c45
check_python_file.sh
@@ -21,6 +21,12 @@ do
21
printf "Checking with mypy:\n%s\n" "${mypy_output}"
22
exit_code=1
23
}
24
+
25
+ xenon_output=$(poetry run xenon --max-absolute B --max-modules A --max-average A "${cur_file}" 2>&1) || {
26
+ printf "Checking \"%s\"\n" "${cur_file}"
27
+ printf "Checking with xenon:\n%s\n" "${xenon_output}"
28
+ exit_code=1
29
+ }
30
done
31
32
if [[ ${exit_code} -eq 0 ]] ; then
pyproject.toml
@@ -26,6 +26,7 @@ coverage = "7.6.10"
black = "24.10.0"
mypy = "1.14.1"
bandit = "1.8.0"
+xenon = "0.9.3"
[build-system]
requires = ["poetry-core"]
0 commit comments