Skip to content

Commit 60b4f77

Browse files
committed
indentation test: include autopep8 in tips (followup 0d5d3bc)
1 parent 3df5880 commit 60b4f77

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/verify-indentation.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ if [ -s "$ASTYLEDIFF" ]; then
6161
cat <<EOF
6262
6363
Tips to prevent and resolve:
64-
* Enable WITH_ASTYLE in your cmake configuration
65-
* Use scripts/astyle.sh file to fix the now badly indented files
64+
* Enable WITH_ASTYLE in your cmake configuration to format C++ code
65+
* Install autopep8 to format python code
66+
* Use "scripts/astyle.sh file" to fix the now badly indented files
6667
* Consider using scripts/prepare-commit.sh as pre-commit hook to avoid this
6768
in the future (ln -s scripts/prepare-commit.sh .git/hooks/pre-commit) or
6869
run it manually before each commit.

0 commit comments

Comments
 (0)