mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
330 B
Bash
17 lines
330 B
Bash
7 years ago
|
#!/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 |
|
||
|
grep -v ./test/results \
|
||
|
)
|
||
|
|
||
|
if [ "${UNICODE_LITERALS_USERS}" ]; then
|
||
|
echo "${UNICODE_LITERALS_USERS}"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
exit 0
|