We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1c9b48 commit 94b12fbCopy full SHA for 94b12fb
scripts/check_format.sh
@@ -1,7 +1,7 @@
1
#!/bin/sh
2
set -e
3
4
-PYTHON_VERSION=$(python -c 'import sys; print sys.version_info.major')
+PYTHON_VERSION=$(python -c 'import sys; print(sys.version_info.major)')
5
if [ "$PYTHON_VERSION" = "2" ]; then
6
echo "Skipping formatting, black not compatible with python 2"
7
exit 0
0 commit comments