Commit 337f1aff by Calen Pennington

Add pylint command

parent 08620eaf
......@@ -28,6 +28,14 @@ INSTALL_DIR_PATH = File.join(DEPLOY_DIR, NORMALIZED_DEPLOY_NAME)
CLOBBER.include('build')
CLEAN.include("#{BUILD_DIR}/*.deb", "#{BUILD_DIR}/util")
task :pylint do
Dir.chdir("djangoapps") do
Dir["*"].each do |app|
sh("pylint -f parseable #{app} | tee #{app}.pylint")
end
end
end
task :test do
sh("django-admin.py test --settings=envs.test --pythonpath=. $(ls djangoapps)")
end
......
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