mirror of
https://github.com/clearlinux/python-swupd.git
synced 2026-04-28 10:53:36 +00:00
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>
7 lines
99 B
Bash
Executable File
7 lines
99 B
Bash
Executable File
#!/bin/bash
|
|
|
|
fileset=`find swupd/ -name '*.py'`
|
|
pep8 $fileset || exit 1
|
|
flake8 $fileset || exit 1
|
|
|