A Python and Rust package for linting C/C++ code with clang-tidy and/or clang-format to collect feedback provided in the form of thread comments, step summary, or file annotations.
Caution
This project is still experimental and subject to drastic changes. Please use the pure python cpp-linter package until this project is ready for deployment.
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.
To provide feedback (requesting a feature or reporting a bug) please post to issues.
The scripts and documentation in this project are released under the MIT.
Dependencies (that are redistributed by us in binary form) have the following license agreements:
-
clap: Dual-licensed under Apache 2.0 or MIT.
-
git2: Dual-licensed under Apache 2.0 or MIT.
The following are conditionally included in binaries (using the
openssl-vendored
feature on a case-by-case basis) because it is a dependency of git2:- openssl: Licensed under Apache 2.0
- openssl-probe : Dual-licensed under Apache 2.0 or MIT.
-
lenient_semver: Dual-licensed under Apache 2.0 or MIT.
-
log: Dual-licensed under Apache 2.0 or MIT.
-
regex: Dual-licensed under Apache 2.0 or MIT.
-
reqwest: Dual-licensed under Apache 2.0 or MIT.
-
semver: Dual-licensed under Apache 2.0 or MIT.
-
serde: Dual-licensed under Apache 2.0 or MIT.
-
serde-xml-rs: Licensed under MIT.
-
serde_json: Dual-licensed under Apache 2.0 or MIT.
The python binding uses
- pyo3: Dual-licensed under Apache 2.0 or MIT.