A simple runner for clang-tidy.
Project description
clang-tidier
A simple clang-tidy
runner for C and C++ projects.
Installation
clang-tidier
requires Python 3.8 or higher, as well as some version of clang-tidy
visible on the system PATH.
pip3 install clang-tidier
Usage
clang-tidier
is a command-line application
usage: clang-tidier [-h] [--version] [--include <regex> [<regex> ...]] [--exclude <regex> [<regex> ...]] [--werror] [--threads <num>] [compile_db]
clang-tidy runner for C and C++ projects.
positional arguments:
compile_db path to compile_commands.json, or a directory containing it (default: discover automatically)
options:
-h, --help show this help message and exit
--version print the version and exit
--include <regex> [<regex> ...]
regular expression to select source files.
--exclude <regex> [<regex> ...]
regular expression to exclude source files.
--werror stop on the first file that emits warnings
--threads <num> number of threads to use.
v0.1.0 - github.com/marzer/clang-tidier
Exit codes
Value | Meaning |
---|---|
0 | No issues were found |
N , where N is a positive integer |
N issues were found |
-1 | A fatal error occurred |
Changelog
v0.1.0
- First public release 🎉️
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
clang_tidier-0.1.0.tar.gz
(9.0 kB
view hashes)
Built Distribution
Close
Hashes for clang_tidier-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e32a75dfdda2f3eb5437c5e899a0ab2333d6687a9d8514c7e77e7d509f124129 |
|
MD5 | 8fc9af5c4dcedc850d4ec7692a9ccf6e |
|
BLAKE2b-256 | 22fc60a2ec811401e36dbb287ab30bd770295cf6aa85beaa7b9e5ab3dab9314e |