开发者

Diff based coding style inspection?

I'd like to do an automated coding style inspection on 开发者_StackOverflow社区changes (to be) committed to the repository.

Is there a tool can do style inspection/static inspection for patches?


The WebKit team have a Python-based code review bot that check incoming patches (diffs) for style issues. Perhaps you could adapt that to your needs?

Look at check-webkit-style and the webkitpy directory in http://svn.webkit.org/repository/webkit/trunk/Tools/Scripts/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜