Add pep8 check that generated environments are up to date

This check ensures that if a parameter is changed that would affect
a generated environment then the environment must be updated before
pep8 will pass.  It will also catch any mistaken hand edits to the
generated files.

bp generated-environments

Change-Id: I2d12992ed55f963285422e1282a4cee06e989b6d
This commit is contained in:
Ben Nemec
2017-09-07 15:25:11 -05:00
parent e10dd12cef
commit 1c9553c37a
3 changed files with 41 additions and 7 deletions

View File

@@ -21,6 +21,7 @@ commands =
python ./network/endpoints/build_endpoint_map.py --check
python ./tools/yaml-validate.py .
bash -c ./tools/roles-data-validation.sh
bash -c ./tools/check-up-to-date.sh
[testenv:templates]
commands = python ./tools/process-templates.py