Commit 9902dcb1 by David Baumgold

Disable FIXME errors on `paver run_quality`

Not on `paver run_pylint`
parent 58fd0918
...@@ -30,7 +30,7 @@ def run_pylint(options): ...@@ -30,7 +30,7 @@ def run_pylint(options):
# This makes the folder if it doesn't already exist. # This makes the folder if it doesn't already exist.
report_dir = (Env.REPORT_DIR / system).makedirs_p() report_dir = (Env.REPORT_DIR / system).makedirs_p()
flags = ["--disable=fixme"] flags = []
if errors: if errors:
flags.append("--errors-only") flags.append("--errors-only")
...@@ -180,12 +180,15 @@ def run_quality(options): ...@@ -180,12 +180,15 @@ def run_quality(options):
try: try:
sh( sh(
"{pythonpath_prefix} diff-quality --violations=pylint {pylint_reports} {percentage_string} " "{pythonpath_prefix} diff-quality --violations=pylint "
"--html-report {dquality_dir}/diff_quality_pylint.html".format( "{pylint_reports} {percentage_string} "
"--html-report {dquality_dir}/diff_quality_pylint.html "
"--options='{pylint_options}'".format(
pythonpath_prefix=pythonpath_prefix, pythonpath_prefix=pythonpath_prefix,
pylint_reports=pylint_reports, pylint_reports=pylint_reports,
percentage_string=percentage_string, percentage_string=percentage_string,
dquality_dir=dquality_dir dquality_dir=dquality_dir,
pylint_options="--disable=fixme",
) )
) )
except BuildFailure, error_message: except BuildFailure, error_message:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment