Commit 7fc40814 by Calen Pennington

Make pylint work on bare .py files from rake

parent 0b650122
......@@ -147,6 +147,11 @@ end
pythonpath_prefix = "PYTHONPATH=#{File.dirname(app)}"
end
app = File.basename(app)
if app =~ /.py$/
app = app.gsub('.py', '')
elsif app =~ /.pyc$/
next
end
sh("#{pythonpath_prefix} pylint --rcfile=.pylintrc -f parseable #{app} | tee #{report_dir}/#{app}.pylint.report")
end
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