summaryrefslogtreecommitdiffstats
path: root/src/util/cstyle.py
Commit message (Collapse)AuthorAgeFilesLines
* Add Python scripts to check for C style issuesGreg Hudson2012-10-041-0/+188
util/cstyle-file.py checks a file for C style issues and displays line-by-line output. It is not terribly sophisticated, and can probably be improved upon (e.g. by doing an emacs batch-reindent of the file and checking for differences in indentation). util/cstyle.py produces diffs using git, runs the file checker on each modified C source file in each diff, and displays the output lines attribute to the diff.