Commit 494ece75 by Sarina Canelake

Merge pull request #583 from edx/sarina/diffquality-python-path

Add a python prefix for `diff-quality` task
parents 87500a47 ff9e01b4
......@@ -54,6 +54,7 @@ task :quality => dquality_dir do
sh("diff-quality --violations=pep8")
# Generage diff-quality html report for pylint, and print to console
sh("diff-quality --violations=pylint --html-report #{dquality_dir}/diff_quality_pylint.html")
sh("diff-quality --violations=pylint")
pythonpath_prefix = "PYTHONPATH=$PYTHONPATH:lms:lms/djangoapps:lms/lib:cms:cms/djangoapps:cms/lib:common:common/djangoapps:common/lib"
sh("#{pythonpath_prefix} diff-quality --violations=pylint --html-report #{dquality_dir}/diff_quality_pylint.html")
sh("#{pythonpath_prefix} diff-quality --violations=pylint")
end
\ No newline at end of file
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