diff --git a/rakefile b/rakefile index 21c39cf73e..6d34684791 100644 --- a/rakefile +++ b/rakefile @@ -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$/