aboutsummaryrefslogtreecommitdiff
path: root/tools/validate-indentation.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-07-26validate-indentation: expand check to also catch macros.install_packagesJon Schlueter1-0/+6
Fixed up 5 Dockerfile.j2 files that had the issue Change-Id: I8a5551050a75d64712c36d53573437a18777a82f
2018-06-21validate-indentation was failing locally for meJon Schlueter1-1/+2
grep -E '^\s+[A-Z]+\s' was matching any " a " " FOO " where this was trying to only catch " FOO " case Change-Id: Ife64cb9f02b3f1463d5143e57629418bc478de49
2017-12-05Validate Dockerfile indentation in pep8Martin André1-0/+12
Delegate code style validation to computers, they're better than human at it :) This commit adds a new `tools/validate-indentation.sh` script that errors when it finds an indented Dockerfile instruction, and enables the validation in the pep8 check. Also adjust the logic of `tools/validate-all-dockerfiles.sh` so that it doesn't stop on first errors but instead shows all of them. Fixes the remaining indentations in Dockerfiles. Change-Id: I53c0d38304cb4f6d64a5dfab67f70d69b3eae587