mirror of
https://github.com/clearlinux/python-swupd.git
synced 2026-06-16 02:35:49 +00:00
9044b59a77
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
|
|
|