2017-09-08 23:43:30 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
UNICODE_LITERALS_USERS=$(grep -r unicode_literals . \
|
|
|
|
--exclude-dir .git \
|
|
|
|
--exclude-dir .tox \
|
|
|
|
--exclude no-unicode-literals.sh \
|
|
|
|
--exclude no-unicode-literals.rst |
|
2017-09-21 19:47:24 +00:00
|
|
|
grep -v ./test/results | \
|
|
|
|
grep -v ansible.egg-info/SOURCES.txt \
|
2017-09-08 23:43:30 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
if [ "${UNICODE_LITERALS_USERS}" ]; then
|
|
|
|
echo "${UNICODE_LITERALS_USERS}"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
exit 0
|