File tree 1 file changed +11
-11
lines changed
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -39,26 +39,26 @@ ${PYLINT} --persistent=no "${ARGS[@]}" || {
39
39
# 32 usage error
40
40
pylint_status=$?
41
41
exitcode=0
42
- if (( ${pylint_status} \ & 1 )) ; then
43
- echo fatal messsage >&2
42
+ if (( ${pylint_status} & 1 )) ; then
43
+ echo fatal message >&2
44
44
exitcode=2
45
45
fi
46
- if (( ${pylint_status} \ & 2 )) ; then
47
- echo error messsage >&2
46
+ if (( ${pylint_status} & 2 )) ; then
47
+ echo error message >&2
48
48
exitcode=2
49
49
fi
50
- if (( ${pylint_status} \ & 4 )) ; then
51
- echo warning messsage >&2
50
+ if (( ${pylint_status} & 4 )) ; then
51
+ echo warning message >&2
52
52
exitcode=2
53
53
fi
54
- if (( ${pylint_status} \ & 8 )) ; then
55
- echo refactor messsage >&2
54
+ if (( ${pylint_status} & 8 )) ; then
55
+ echo refactor message >&2
56
56
fi
57
- if (( ${pylint_status} \ & 16 )) ; then
58
- echo convention messsage >&2
57
+ if (( ${pylint_status} & 16 )) ; then
58
+ echo convention message >&2
59
59
fi
60
60
# This should not happen!
61
- if (( ${pylint_status} \ & 32 )) ; then
61
+ if (( ${pylint_status} & 32 )) ; then
62
62
echo usage error >&2
63
63
exitcode=2
64
64
fi
You can’t perform that action at this time.
0 commit comments