开发者

Diff based coding style inspection?

开发者 https://www.devze.com 2023-04-01 09:11 出处:网络
I\'d like to do an automated coding style inspection on 开发者_StackOverflow社区changes (to be) committed to the repository.

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

精彩评论

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