{"id":17049803,"url":"https://github.com/marzer/clang-tidier","last_synced_at":"2026-02-26T15:06:21.384Z","repository":{"id":239071701,"uuid":"798444769","full_name":"marzer/clang-tidier","owner":"marzer","description":"A simple runner for clang-tidy.","archived":false,"fork":false,"pushed_at":"2025-10-22T12:47:11.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-05T09:47:26.811Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.org/project/clang-tidier","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marzer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-09T19:41:35.000Z","updated_at":"2025-10-22T12:38:29.000Z","dependencies_parsed_at":"2024-05-09T20:48:36.068Z","dependency_job_id":"b45c9fe6-85be-46cf-a0eb-3670997421ef","html_url":"https://github.com/marzer/clang-tidier","commit_stats":null,"previous_names":["marzer/clang-tidier"],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/marzer/clang-tidier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marzer%2Fclang-tidier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marzer%2Fclang-tidier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marzer%2Fclang-tidier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marzer%2Fclang-tidier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marzer","download_url":"https://codeload.github.com/marzer/clang-tidier/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marzer%2Fclang-tidier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29683996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T14:31:22.911Z","status":"ssl_error","status_checked_at":"2026-02-21T14:31:22.570Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T09:55:26.109Z","updated_at":"2026-02-21T14:33:56.080Z","avatar_url":"https://github.com/marzer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clang-tidier\n\nA simple `clang-tidy` runner for C and C++ projects.\n\n## Installation\n\n`clang-tidier` requires Python 3.8 or higher, as well as some version of `clang-tidy` visible on the system PATH.\n\n```\npip3 install clang-tidier\n```\n\n## Usage\n\n`clang-tidier` is a command-line application\n\n```\nusage: clang-tidier [-h] [--version] [--include \u003cregex\u003e [\u003cregex\u003e ...]] [--exclude \u003cregex\u003e [\u003cregex\u003e ...]]\n                    [--werror] [--threads \u003cnum\u003e] [--batch num/denom] [--session | --no-session]\n                    [--relative-paths | --no-relative-paths] [--fix | --no-fix]\n                    [--plugins \u003cpath...\u003e [\u003cpath...\u003e ...]]\n                    [compile_db_path]\n\nclang-tidy runner for C and C++ projects.\n\npositional arguments:\n  compile_db_path       path to compile_commands.json, or a directory containing it (default: discover\n                        automatically)\n\noptions:\n  -h, --help            show this help message and exit\n  --version             print the version and exit\n  --include \u003cregex\u003e [\u003cregex\u003e ...]\n                        regular expression to select source files.\n  --exclude \u003cregex\u003e [\u003cregex\u003e ...]\n                        regular expression to exclude source files.\n  --werror              stop on the first file that emits warnings\n  --threads \u003cnum\u003e       number of threads to use.\n  --batch num/denom     batch subdivisions.\n  --session, --no-session\n                        saves run information so subsequent re-runs may avoid re-scanning files.\n  --relative-paths, --no-relative-paths\n                        show paths as relative to CWD where possible.\n  --fix, --no-fix       attempt to apply clang-tidy fixes where possible.\n  --plugins \u003cpath...\u003e [\u003cpath...\u003e ...]\n                        one or more plugins to load.\n\nv0.9.0 - github.com/marzer/clang-tidier\n```\n\n## Clang-tidy plugins\n\nClang tidy plugins can be specified in two ways:\n\n- directly using the argument `--plugins` (`--load` also works for compatibility with `clang-tidy`)\n- indirectly using either environment variables `CLANG_TIDY_PLUGINS` or `CLANG_TIDIER_PLUGINS`\n\nSpecifying multiple plugins via environment variable requires delimiting with semicolons. Regular unix-style colon\ndelimiters are also supported on Unix.\n\nPlugins specified on the command-line must exist; the program will exit with an error if they do not. Plugins specified\nvia environment variable will be ignored with a warning if they are not found.\n\n## Exit codes\n\n| Value                                | Meaning                |\n| :----------------------------------- | :--------------------- |\n| 0                                    | No issues were found   |\n| 1                                    | Issues were found      |\n| -1                                   | A fatal error occurred |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarzer%2Fclang-tidier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarzer%2Fclang-tidier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarzer%2Fclang-tidier/lists"}