setup: Do pep8 before pylint

pep8 is super quick, so if there's issue devs can fix those while pylint
is running and gives exhaustive output
This commit is contained in:
Cole Robinson 2015-09-13 15:07:23 -04:00
parent bcc13dca31
commit a51c12660f

View File

@ -568,16 +568,17 @@ class CheckPylint(Command):
output_format = sys.stdout.isatty() and "colorized" or "text"
cmd = "pylint "
cmd += "--output-format=%s " % output_format
cmd += " ".join(files)
os.system(cmd + " --rcfile tests/pylint.cfg")
print "running pep8"
cmd = "pep8 "
cmd += " ".join(files)
os.system(cmd + " --config tests/pep8.cfg")
print "running pylint"
cmd = "pylint "
cmd += "--output-format=%s " % output_format
cmd += " ".join(files)
os.system(cmd + " --rcfile tests/pylint.cfg")
setup(
name="virt-manager",