Switch to the parseable output-format for pylint
This commit is contained in:
@@ -64,11 +64,10 @@ def find_fixme(options):
|
||||
)
|
||||
|
||||
sh(
|
||||
"{pythonpath_prefix} pylint --disable R,C,W,E --enable=fixme "
|
||||
"--msg-template={msg_template} {apps} "
|
||||
"{pythonpath_prefix} pylint --disable all --enable=fixme "
|
||||
"--output-format=parseable {apps} "
|
||||
"| tee {report_dir}/pylint_fixme.report".format(
|
||||
pythonpath_prefix=pythonpath_prefix,
|
||||
msg_template='"{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}"',
|
||||
apps=apps_list,
|
||||
report_dir=report_dir
|
||||
)
|
||||
@@ -117,11 +116,10 @@ def run_pylint(options):
|
||||
)
|
||||
|
||||
sh(
|
||||
"{pythonpath_prefix} pylint {flags} --msg-template={msg_template} {apps} | "
|
||||
"{pythonpath_prefix} pylint {flags} --output-format=parseable {apps} | "
|
||||
"tee {report_dir}/pylint.report".format(
|
||||
pythonpath_prefix=pythonpath_prefix,
|
||||
flags=" ".join(flags),
|
||||
msg_template='"{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}"',
|
||||
apps=apps_list,
|
||||
report_dir=report_dir
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user