cpplinthook-1.5
توضیحات
A simple script to run cpplint as a pre-commit hook
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cpplinthook-1.5 |
| نام | cpplinthook |
| نسخه کتابخانه | 1.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Eli Ribble |
| ایمیل نویسنده | eliribble@google.com |
| آدرس صفحه اصلی | https://nest-source-internal.git.corp.google.com/hooks/cpplint/ |
| آدرس اینترنتی | https://pypi.org/project/cpplinthook/ |
| مجوز | - |
# cpplint hook
`cpplinthook` is a module for linting C++ code using `cpplint`.
## Hacking
To work on this repository:
1. Clone it
1. Create a virtual env with `python3 -m venv ve`
1. Activate the virtual env with `source ve/bin/activate`
1. Install the developer dependencies with `pip install -e .[develop]`
1. Hack hack hack
1. Run the tests before submitting with `nose2`
### Tests
Run `mypy cpplinthook` to ensure your types are well-defined.
Enjoy!
نیازمندی
| مقدار | نام |
|---|---|
| ==1.1 | precommit-diffcheck |
| ==1.12.0 | six |
| ==0.5.5 | unidiff |
| - | mypy |
| - | nose2 |
| - | pylint |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl cpplinthook-1.5:
pip install cpplinthook-1.5.whl
نصب پکیج tar.gz cpplinthook-1.5:
pip install cpplinthook-1.5.tar.gz