Run pylint on lms/*.py and cms/*.py

This commit is contained in:
Calen Pennington
2013-03-13 13:30:49 -04:00
parent 47ebd2b661
commit a1c375b499

View File

@@ -140,7 +140,7 @@ end
desc "Run pylint on all #{system} code"
task "pylint_#{system}" => report_dir do
Dir["#{system}/djangoapps/*", "#{system}/lib/*"].each do |app|
Dir["#{system}/*.py", "#{system}/djangoapps/*", "#{system}/lib/*"].each do |app|
pythonpath_prefix = "PYTHONPATH=#{system}:#{system}/djangoapps:#{system}/lib:common/djangoapps:common/lib"
app = File.basename(app)
if app =~ /.py$/