Skip to content

Commit

Permalink
add more verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
Anvil committed Dec 7, 2023
1 parent 517517c commit 943a24a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/filter-static-analysis-tests
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ declare -a success=()

for test in test/static_analysis/{aioretry,retry}*py; do
if mypy "$test" >/dev/null 2>&1; then
printf '%s: success' "$test"
success+=("$test")
git add "$test"
if git commit -m "Add working $test file" >/dev/null; then
echo "New working test: $test"
printf ' (NEW!)'
fi
printf \\n
else
printf '%s: failed\n' "$test"
failures+=("$test")
fi
done
Expand Down

0 comments on commit 943a24a

Please sign in to comment.