Files
python-swupd/test.sh
Ikey Doherty 9044b59a77 Add a test script to ensure continual compliance of the codebase
This script will run pep8 and flake8 to ensure the codebase meets the PEP8
requirements, and has no stylistic or code issues prior to deployment and
running of python-swupd.

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2016-07-27 17:05:04 +01:00

7 lines
99 B
Bash
Executable File

#!/bin/bash
fileset=`find swupd/ -name '*.py'`
pep8 $fileset || exit 1
flake8 $fileset || exit 1