Skip to content

feat: add --lines-changed-only to the clang-format hook - #327

Merged
shenxianpeng merged 5 commits into
mainfrom
claude/project-thread-cxtp4n
Nov 13, 2026
Merged

shenxianpeng merged 5 commits into
mainfrom
claude/project-thread-cxtp4n

test: run the integration configs from the repository root

e93752e
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 12, 2026 in 18s

Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 108 in cpp_linter_hooks/clang_format.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Command Injection via faulty LLM-supplied CLI arguments in clang_format.run_clang_format()

See more on https://sonarcloud.io/project/issues?id=cpp-linter_cpp-linter-hooks&issues=AaHFiKnN_wxgQOln4JIW&open=AaHFiKnN_wxgQOln4JIW&pullRequest=327

Check failure on line 108 in cpp_linter_hooks/clang_format.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Command Argument Injection via faulty LLM-supplied CLI arguments in clang_format.run_clang_format()

See more on https://sonarcloud.io/project/issues?id=cpp-linter_cpp-linter-hooks&issues=AaHFiKnN_wxgQOln4JIX&open=AaHFiKnN_wxgQOln4JIX&pullRequest=327