Skip to content

Commit 3664191

Browse files
committed
scripts: switch shebang in linter
1 parent cc01a9c commit 3664191

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: scripts/py-style-check.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -euo pipefail
66
find tools -type f -name "*.py" | xargs pep8 -r --show-source --ignore=E123,E125,E126,E127,E128,E302 || \
77
echo "pep8 run failed, please fix it" >&2
88

9-
NO_PROPER_SHEBANG="$(find tools examples -type f -executable -name '*.py' | xargs grep -L '#!/usr/bin/env python')"
9+
NO_PROPER_SHEBANG="$(find tools examples -type f -executable -name '*.py' | xargs grep -L '#!/usr/bin/python')"
1010
if [ -n "$NO_PROPER_SHEBANG" ]; then
1111
echo "bad shebangs found:"
1212
echo "$NO_PROPER_SHEBANG"

0 commit comments

Comments
 (0)