mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
indentation test: include autopep8 in tips (followup 0d5d3bc)
This commit is contained in:
parent
3df5880f83
commit
60b4f77126
@ -61,8 +61,9 @@ if [ -s "$ASTYLEDIFF" ]; then
|
|||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
|
||||||
Tips to prevent and resolve:
|
Tips to prevent and resolve:
|
||||||
* Enable WITH_ASTYLE in your cmake configuration
|
* Enable WITH_ASTYLE in your cmake configuration to format C++ code
|
||||||
* Use scripts/astyle.sh file to fix the now badly indented files
|
* 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
|
* 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
|
in the future (ln -s scripts/prepare-commit.sh .git/hooks/pre-commit) or
|
||||||
run it manually before each commit.
|
run it manually before each commit.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user