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:
- Clone it
- Create a virtual env with
python3 -m venv ve
- Activate the virtual env with
source ve/bin/activate
- Install the developer dependencies with
pip install -e .[develop]
- Hack hack hack
- Run the tests before submitting with
nose2
Tests
Run mypy cpplinthook
to ensure your types are well-defined.
Enjoy!
Project details
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file cpplinthook-1.5.tar.gz
.
File metadata
- Download URL: cpplinthook-1.5.tar.gz
- Upload date:
- Size: 69.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5d1807790984262a463417a0f0125de9edde3285f43eef66c1b062aeaab9702 |
|
MD5 | 481a878721b9715f2a94f67b930d5ef3 |
|
BLAKE2b-256 | 538d27bfa492b4ea46d466841a6aa777ebd7363a5b8a77f755c19501a48a7915 |
File details
Details for the file cpplinthook-1.5-py2.py3-none-any.whl
.
File metadata
- Download URL: cpplinthook-1.5-py2.py3-none-any.whl
- Upload date:
- Size: 69.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d32c60e007aa09abb83563b61d8f2da365b197e7ae84adefd1e88720f548523 |
|
MD5 | 02ecbea9dd4621ed4649a9414787ac89 |
|
BLAKE2b-256 | 3faba7201a1eead98185df78d44488c51047d68027f00a444a94da9846bf37e3 |