C/C++ Linting Package¶
A Python package for linting C/C++ code with clang-tidy and/or clang-format to collect feedback provided in the form of thread comments and/or file annotations.
Usage¶
For usage in a CI workflow, see the cpp-linter/cpp-linter-action repository
For the description of supported Command Line Interface options, see the CLI documentation
Applying fixes¶
Passing the --fix option makes cpp-linter apply clang-format fixes in-place to
any files that have formatting problems.
Note
--fix only applies clang-format fixes. clang-tidy fixes are not applied
automatically.
Have question or feedback?¶
To provide feedback (requesting a feature or reporting a bug) please post to issues.
License¶
The scripts and documentation in this project are released under the MIT License.