1 cpplint - static code checker for C++
2 =====================================
4 .. image:: https://travis-ci.org/cpplint/cpplint.svg?branch=master
5 :target: https://travis-ci.org/cpplint/cpplint
7 .. image:: https://img.shields.io/pypi/v/cpplint.svg
8 :target: https://pypi.python.org/pypi/cpplint
10 .. image:: https://img.shields.io/pypi/pyversions/cpplint.svg
11 :target: https://pypi.python.org/pypi/cpplint
13 .. image:: https://img.shields.io/pypi/status/cpplint.svg
14 :target: https://pypi.python.org/pypi/cpplint
16 .. image:: https://img.shields.io/pypi/l/cpplint.svg
17 :target: https://pypi.python.org/pypi/cpplint
19 .. image:: https://img.shields.io/pypi/dd/cpplint.svg
20 :target: https://pypi.python.org/pypi/cpplint
22 .. image:: https://img.shields.io/pypi/dw/cpplint.svg
23 :target: https://pypi.python.org/pypi/cpplint
25 .. image:: https://img.shields.io/pypi/dm/cpplint.svg
26 :target: https://pypi.python.org/pypi/cpplint
28 Cpplint is a command-line tool to check C/C++ files for style issues following `Google's C++ style guide <http://google.github.io/styleguide/cppguide.html>`_.
29 Cpplint is developed and maintained by Google Inc. at `google/styleguide <https://github.com/google/styleguide>`_, also see the `wikipedia entry <http://en.wikipedia.org/wiki/Cpplint>`_
31 While Google maintains cpplint, Google is not (very) responsive to issues and pull requests, this fork aims to be (somewhat) more open to add fixes to cpplint to enable fixes, when those fixes make cpplint usable in wider contexts.
32 Also see discussion here https://github.com/google/styleguide/pull/528.
39 To install cpplint from PyPI, run:
49 $ cpplint [OPTIONS] files
51 For full usage instructions, run:
60 The modifications in this fork are minor fixes and cosmetic changes, such as:
62 * python 3 compatibility
63 * more default file extensions
64 * customizable file extensions with the --extensions argument
65 * continuous integration on travis
66 * support for recursive file discovery via the --recursive argument
67 * support for excluding files via --exclude
68 * JUnit XML output format
69 * Overriding repository root auto-detection via --repository
70 * Support ``#pragma once`` as an alternative to header include guards
71 * ... and a few more (most of which are open PRs on upstream)
77 Thanks to Google Inc. for open-sourcing their in-house tool.
78 Thanks to maintainers of the fork
80 * `tkruse <https://github.com/tkruse>`_
81 * `mattyclarkson <https://github.com/mattyclarkson>`_
82 * `theandrewdavis <https://github.com/theandrewdavis>`_