2f1378ebea
Fix exclude rules so we do not run flake8 against code in the build, .tox, or openstack/common directories since this code is not "ours." Fix flake8 errors in other code. Update the config checker script so if there are differences they are printed to the output. This should help track down false negatives in the tests. Change-Id: I9938846943b7f8aab20f02266b870d560c6a2f80 Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
10 lines
277 B
Bash
Executable File
10 lines
277 B
Bash
Executable File
#!/bin/sh
|
|
TMPFILE=`mktemp`
|
|
trap "rm -f ${TMPFILE}" EXIT
|
|
tools/conf/generate_sample.sh "${TMPFILE}"
|
|
if ! diff "${TMPFILE}" etc/ceilometer/ceilometer.conf.sample
|
|
then
|
|
echo "E: ceilometer.conf.sample is not up to date, please run tools/conf/generate_sample.sh"
|
|
exit 42
|
|
fi
|