mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
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:
parent
bcc13dca31
commit
a51c12660f
11
setup.py
11
setup.py
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user