We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfde746 commit 4e1b0dbCopy full SHA for 4e1b0db
1 file changed
.github/workflows/build.yml
@@ -41,14 +41,12 @@ jobs:
41
--ignore-missing-imports \
42
--check-untyped-defs \
43
--show-error-codes \
44
- --no-error-summary 2>&1)
+ --no-error-summary 2>&1 || true)
45
46
- missing_args=$(echo "$mypy_output" | grep -E "Missing positional argument|\[call-arg\]")
47
-
48
- if [ -n "$missing_args" ]; then
49
- echo "❌ ERROR: Missing function arguments detected:"
+ if echo "$mypy_output" | grep -q -E "Missing positional argument|\[call-arg\]"; then
+ echo "ERROR: Missing function arguments detected:"
50
echo ""
51
- echo "$missing_args"
+ echo "$mypy_output" | grep -E "Missing positional argument|\[call-arg\]"
52
53
echo "When adding/removing parameters from methods, ensure all call sites are updated."
54
exit 1
0 commit comments