{"id":27649,"library":"clangd-tidy","title":"clangd-tidy","description":"A faster alternative to clang-tidy that uses clangd to provide linting and formatting checks. Current version is 1.1.1, with an active release cadence. Requires Python >=3.8.","status":"active","version":"1.1.1","language":"python","source_language":"en","source_url":"https://github.com/lljbash/clangd-tidy","tags":["clang-tidy","clangd","linting","c++","lsp"],"install":[{"cmd":"pip install clangd-tidy","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"wrong":"from clangd_tidy import ClangdTidyRunner","symbol":"ClangdTidyRunner","correct":"from clangd_tidy.main_cli import ClangdTidyRunner"}],"quickstart":{"code":"from clangd_tidy import ClangdTidyRunner\nrunner = ClangdTidyRunner()\nresults = runner.run(['example.cpp'])\nfor r in results:\n    print(r.message)","lang":"python","description":"Basic usage to lint a C++ source file."},"warnings":[{"fix":"Install clangd via your package manager (e.g., apt install clangd, brew install llvm).","message":"clangd-tidy requires clangd to be installed and in PATH. Without clangd, the tool will fail silently or produce no results.","severity":"gotcha","affected_versions":"all"},{"fix":"If you rely on pylspclient, pin to <1.1.0 or adapt to the async interface.","message":"In v1.1.0, the internal LSP client was rewritten, removing pylspclient. This may break code depending on internal client behavior.","severity":"breaking","affected_versions":">=1.1.0"},{"fix":"Upgrade to v1.1.1 or manually convert file URIs to absolute paths.","message":"Windows file URI handling was fixed in v1.1.1 for file paths with drive letters. Prior versions may fail to process Windows paths.","severity":"gotcha","affected_versions":"<1.1.1"}],"env_vars":null,"search_vec":"'1.1.1':23 '3.8':31 'activ':26 'altern':6 'c':37 'cadenc':28 'check':19 'clang':9,33 'clang-tidi':8,32 'clangd':2,13,35 'clangd-tidi':1 'current':20 'faster':5 'format':18 'lint':16,36 'lsp':38 'provid':15 'python':30 'releas':27 'requir':29 'tidi':3,10,34 'use':12 'version':21","created_at":"2026-05-09T05:51:22.082593+00:00","updated_at":"2026-05-09T05:51:22.082593+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'ClangdTidyRunner' from 'clangd_tidy.main_cli' (/tmp/tmpk126tfrz/venv/lib/python3.12/site-packages/clangd_tidy/main_cli.py). Did you mean: 'ClangdRunner'?"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"clangd-tidy","cli_version":"clangd-tidy 1.1.1","type":"library","homepage":null,"github":"https://github.com/lljbash/clangd-tidy","docs":null,"changelog":null,"pypi":"https://pypi.org/project/clangd-tidy/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}