@ -18,7 +18,7 @@ test () {
# Code quality linting (flake8)
cd $ROOTDIR
# E402 == module level import not at top of file
#cd src && flake8 --extend-ignore=E402 *.py || true
cd src && flake8 --extend-ignore=E402 *.py || true
# Code quality linting (pylint)
@ -33,7 +33,9 @@ def from_file(fname):
close_fds=True)
stdout, stderr = proc.communicate(input)
if proc.returncode != 0:
log.error("%s returned non-zero exit code %s", path, proc.returncode)
log.error("%s returned non-zero exit code %s",
path,
proc.returncode)
log.error(stderr)
raise subprocess.CalledProcessError(proc.returncode, path, stderr)
out = stdout