Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

An automated checker to make sure a C++ file follows Google's C++ style guide

Project description

This project continues the work of cpplint, a C++ style checker following Google’s C++ style guide. It provides cpplint as a PyPI packages and adds a few features and fixes. It is maintained as a fork of google/styleguide in hopes that it can be merged in the future.

To install cpplint from PyPI, run:

$ pip install cpplint

Then run it with:

$ cpplint [OPTIONS] files

For full usage instructions, run:

$ cpplint --help


The modifications in this branch are minor fixes and cosmetic changes:

  • more default extensions
  • python 3k compatibility
  • minor fixes around default file extensions
  • continuous integration on travis
  • support for recursive file discovery via the –recursive argument
  • support for excluding files via –exclude
  • JUnit XML output format
  • Overriding repository root auto-detection via –repository
  • Support #pragma once as an alternative to header include guards


To release a new version:

vi # increment the version
vi changelog.rst # log changes
git add changelog.rst
git commit -m "Releasing 0.0.6"
git tag 0.0.6
git push
git push --tags
python sdist register -r pypi
python sdist upload -r pypi

Thanks to tkruse for putting cpplint on PyPI and maintaining the PyPI version for many years!

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cpplint, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size cpplint-1.0.1.tar.gz (71.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page