python linting: 2 lines prior to defs (E302)

Signed-off-by: bcambl <blayne@blaynecampbell.com>
This commit is contained in:
bcambl 2018-07-02 14:54:19 -06:00
parent 9d3d33b6a2
commit 4468d81472
4 changed files with 41 additions and 0 deletions

View file

@ -5,6 +5,7 @@ run_local = testinfra.get_backend(
"local://"
).get_module("Command").run
def test_scripts_pass_shellcheck():
''' Make sure shellcheck does not find anything wrong with our shell scripts '''
shellcheck = "find . -type f -name 'update.sh' | while read file; do shellcheck -x \"$file\" -e SC1090,SC1091; done;"