Commit 615ffbb5 by Stuart Young

temporarily disable all violations but using exec

parent 82ad9295
...@@ -91,18 +91,18 @@ def _get_pylint_violations(systems=ALL_SYSTEMS.split(','), errors_only=False, cl ...@@ -91,18 +91,18 @@ def _get_pylint_violations(systems=ALL_SYSTEMS.split(','), errors_only=False, cl
# 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 = [] #flags = []
if errors_only: #if errors_only:
flags.append("--errors-only") # flags.append("--errors-only")
apps_list = ' '.join(top_python_dirs(system)) apps_list = ' '.join(top_python_dirs(system))
system_report = report_dir / 'pylint.report' system_report = report_dir / 'pylint.report'
if clean or not system_report.exists(): if clean or not system_report.exists():
sh( sh(
"pylint {flags} --output-format=parseable {apps} " "pylint --disable=all --enable=W0122 "
"--output-format=parseable {apps} "
"> {report_dir}/pylint.report".format( "> {report_dir}/pylint.report".format(
flags=" ".join(flags),
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