Skip to main content

A simple script to run cpplint as a pre-commit hook

Project description

cpplint hook

cpplinthook is a module for linting C++ code using cpplint.

Hacking

To work on this repository:

  1. Clone it
  2. Create a virtual env with python3 -m venv ve
  3. Activate the virtual env with source ve/bin/activate
  4. Install the developer dependencies with pip install -e .[develop]
  5. Hack hack hack
  6. Run the tests before submitting with nose2

Tests

Run mypy cpplinthook to ensure your types are well-defined.

Enjoy!

Project details


Download files

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

Source Distribution

cpplinthook-1.5.tar.gz (69.2 kB view hashes)

Uploaded Source

Built Distribution

cpplinthook-1.5-py2.py3-none-any.whl (69.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page