Skip to content

Commit

Permalink
Update check_python_file.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
valanm22 authored Dec 7, 2024
1 parent aa0577f commit 5a157b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions check_python_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ do
}

mypy_output=$(poetry run mypy "${cur_file}" 2>&1) || {
printf "Checking \"%s\"\n" "${cur_file}"
printf "Checking with mypy:\n%s\n" "${mypy_output}"
exit_code=1
}

xenon_output=$(poetry run xenon --max-absolute A --max-modules A --max-average A "${cur_file}" 2>&1) || {
printf "Checking \"%s\"\n" "${cur_file}"
printf "Checking with xenon:\n%s\n" "${xenon_output}"
exit_code=1
}
Expand Down

0 comments on commit 5a157b8

Please sign in to comment.