2017-09-09 01:43:30 +02: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 21:47:24 +02:00
|
|
|
grep -v ./test/results | \
|
|
|
|
grep -v ansible.egg-info/SOURCES.txt \
|
2017-09-09 01:43:30 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
if [ "${UNICODE_LITERALS_USERS}" ]; then
|
|
|
|
echo "${UNICODE_LITERALS_USERS}"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
exit 0
|