Awesome! Been waiting for this, I will update the gcl to use the cpplint. And set it off to code review. /me will be my first time doing python...
On Tue, Jan 13, 2009 at 6:08 PM, John Abd-El-Malek <[email protected]> wrote: > > > On Tue, Jan 13, 2009 at 2:25 PM, Elliot Glaysher (Chromium) < > [email protected]> wrote: > >> >> Background: For the last couple of months, there have been requests >> from external contributors for a style linting tool. I've just finish >> cleaning Google's cpplint.py up for public release. >> >> cpplint.py takes file names as input and returns file/line number >> pairs with error messages about style violations. By default it >> outputs in a format friendly to emacs compile-mode, but can output >> Visual Studio compatible errors with the "--output=vs7" option. See >> cpplint.py --help for more details. cpplint.py is not perfect as it is >> based on regular expressions--thus it won't catch everything and will >> have the occasional false positive. >> >> John is planning on integrating this directly with gcl, but if you >> want to run it right now, the python script is available at: > > > I didn't know this! What I'm planning on doing is using this version in > Rietveld. If anyone else wants to integrate it with gcl, that should be > pretty easy. > > >> >> http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py >> >> For those who are interested, I've also released Google's indentation >> rules for emacs: >> >> http://google-styleguide.googlecode.com/svn/trunk/google-c-style.el >> >> -- Elliot >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
