mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Test cleanup.
This commit is contained in:
parent
bb9dcb0d2b
commit
74ac1c2e4a
3 changed files with 7 additions and 40 deletions
|
@ -71,13 +71,13 @@ printf "\n== Missing __metaclass__ = type ==\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -n "$metaclass1" ; then
|
if test -n "$metaclass1" ; then
|
||||||
printf "$metaclass1\n"
|
printf "%s\n" "$metaclass1"
|
||||||
fi
|
fi
|
||||||
if test -n "$metaclass2" ; then
|
if test -n "$metaclass2" ; then
|
||||||
printf "$metaclass2\n"
|
printf "%s\n" "$metaclass2"
|
||||||
fi
|
fi
|
||||||
if test -n "$metaclass3" ; then
|
if test -n "$metaclass3" ; then
|
||||||
printf "$metaclass3\n"
|
printf "%s\n" "$metaclass3"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -n "$future1" -o -n "$future2" -o -n "$future3" ; then
|
if test -n "$future1" -o -n "$future2" -o -n "$future3" ; then
|
||||||
|
@ -85,18 +85,16 @@ if test -n "$future1" -o -n "$future2" -o -n "$future3" ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -n "$future1" ; then
|
if test -n "$future1" ; then
|
||||||
printf "$future1\n"
|
printf "%s\n" "$future1"
|
||||||
fi
|
fi
|
||||||
if test -n "$future2" ; then
|
if test -n "$future2" ; then
|
||||||
printf "$future2\n"
|
printf "%s\n" "$future2"
|
||||||
fi
|
fi
|
||||||
if test -n "$future3" ; then
|
if test -n "$future3" ; then
|
||||||
printf "$future3\n"
|
printf "%s\n" "$future3"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -n "$future1$future2$future3$metaclass1$metaclass2$metaclass3" ; then
|
if test -n "$future1$future2$future3$metaclass1$metaclass2$metaclass3" ; then
|
||||||
failures=$(printf "$future1$future2$future3$metaclass1$metaclass2$metaclass3"| wc -l)
|
exit 2
|
||||||
failures=$(expr $failures + 2)
|
|
||||||
exit $failures
|
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -1,29 +0,0 @@
|
||||||
E123
|
|
||||||
E124
|
|
||||||
E127
|
|
||||||
E128
|
|
||||||
E201
|
|
||||||
E202
|
|
||||||
E203
|
|
||||||
E211
|
|
||||||
E221
|
|
||||||
E222
|
|
||||||
E225
|
|
||||||
E226
|
|
||||||
E227
|
|
||||||
E228
|
|
||||||
E231
|
|
||||||
E241
|
|
||||||
E251
|
|
||||||
E261
|
|
||||||
E262
|
|
||||||
E265
|
|
||||||
E266
|
|
||||||
E301
|
|
||||||
E302
|
|
||||||
E303
|
|
||||||
E502
|
|
||||||
E713
|
|
||||||
E731
|
|
||||||
W391
|
|
||||||
W503
|
|
|
@ -1,2 +0,0 @@
|
||||||
hacking/unify_repos.sh
|
|
||||||
test/sanity/code-smell/boilerplate.sh
|
|
Loading…
Reference in a new issue