Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
indentation test: include autopep8 in tips (followup 0d5d3bc)
  • Loading branch information
jef-n committed Dec 5, 2015
1 parent 3df5880 commit 60b4f77
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/verify-indentation.sh
Expand Up @@ -61,8 +61,9 @@ if [ -s "$ASTYLEDIFF" ]; then
cat <<EOF
Tips to prevent and resolve:
* Enable WITH_ASTYLE in your cmake configuration
* Use scripts/astyle.sh file to fix the now badly indented files
* Enable WITH_ASTYLE in your cmake configuration to format C++ code
* Install autopep8 to format python code
* Use "scripts/astyle.sh file" to fix the now badly indented files
* Consider using scripts/prepare-commit.sh as pre-commit hook to avoid this
in the future (ln -s scripts/prepare-commit.sh .git/hooks/pre-commit) or
run it manually before each commit.
Expand Down

0 comments on commit 60b4f77

Please sign in to comment.