Commit 3c35fbb5 by Calen Pennington

Switch to the parseable output-format for pylint

parent 38930188
...@@ -64,11 +64,10 @@ def find_fixme(options): ...@@ -64,11 +64,10 @@ def find_fixme(options):
) )
sh( sh(
"{pythonpath_prefix} pylint --disable R,C,W,E --enable=fixme " "{pythonpath_prefix} pylint --disable all --enable=fixme "
"--msg-template={msg_template} {apps} " "--output-format=parseable {apps} "
"| tee {report_dir}/pylint_fixme.report".format( "| tee {report_dir}/pylint_fixme.report".format(
pythonpath_prefix=pythonpath_prefix, pythonpath_prefix=pythonpath_prefix,
msg_template='"{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}"',
apps=apps_list, apps=apps_list,
report_dir=report_dir report_dir=report_dir
) )
...@@ -117,11 +116,10 @@ def run_pylint(options): ...@@ -117,11 +116,10 @@ def run_pylint(options):
) )
sh( sh(
"{pythonpath_prefix} pylint {flags} --msg-template={msg_template} {apps} | " "{pythonpath_prefix} pylint {flags} --output-format=parseable {apps} | "
"tee {report_dir}/pylint.report".format( "tee {report_dir}/pylint.report".format(
pythonpath_prefix=pythonpath_prefix, pythonpath_prefix=pythonpath_prefix,
flags=" ".join(flags), flags=" ".join(flags),
msg_template='"{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}"',
apps=apps_list, apps=apps_list,
report_dir=report_dir report_dir=report_dir
) )
......
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