|WARNING| pw160246 [PATCH v5 4/4] devtools: add multi-provider AI documentation review script
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Jan 23 01:45:11 CET 2026
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/160246
_coding style issues_
WARNING:LONG_LINE_COMMENT: line length of 104 exceeds 100 columns
#311: FILE: devtools/review-doc.sh:175:
+SYSTEM_PROMPT='You are an expert technical documentation reviewer for DPDK (Data Plane Development Kit).
WARNING:LONG_LINE_COMMENT: line length of 105 exceeds 100 columns
#339: FILE: devtools/review-doc.sh:203:
+For actual errors (wrong information, broken examples), include Fixes tag if you can identify the commit.
WARNING:LONG_LINE_COMMENT: line length of 118 exceeds 100 columns
#368: FILE: devtools/review-doc.sh:232:
+ system_prompt_escaped=$(echo "$SYSTEM_PROMPT" | python3 -c "import json,sys; print(json.dumps(sys.stdin.read()))")
WARNING:LONG_LINE_COMMENT: line length of 262 exceeds 100 columns
#388: FILE: devtools/review-doc.sh:252:
+ "content": "Review the following DPDK documentation file and provide improvements.
File path: $doc_file
Commit message prefix to use: $commit_prefix
Provide a unified diff and commit message following DPDK standards.
---DOCUMENT CONTENT---"
WARNING:LONG_LINE_COMMENT: line length of 118 exceeds 100 columns
#408: FILE: devtools/review-doc.sh:272:
+ system_prompt_escaped=$(echo "$SYSTEM_PROMPT" | python3 -c "import json,sys; print(json.dumps(sys.stdin.read()))")
WARNING:LONG_LINE_COMMENT: line length of 262 exceeds 100 columns
#425: FILE: devtools/review-doc.sh:289:
+ "content": "Review the following DPDK documentation file and provide improvements.
File path: $doc_file
Commit message prefix to use: $commit_prefix
Provide a unified diff and commit message following DPDK standards.
---DOCUMENT CONTENT---"
WARNING:LONG_LINE_COMMENT: line length of 118 exceeds 100 columns
#444: FILE: devtools/review-doc.sh:308:
+ system_prompt_escaped=$(echo "$SYSTEM_PROMPT" | python3 -c "import json,sys; print(json.dumps(sys.stdin.read()))")
WARNING:LONG_LINE_COMMENT: line length of 267 exceeds 100 columns
#469: FILE: devtools/review-doc.sh:333:
+ "text": "Review the following DPDK documentation file and provide improvements.
File path: $doc_file
Commit message prefix to use: $commit_prefix
Provide a unified diff and commit message following DPDK standards.
---DOCUMENT CONTENT---"
WARNING:LONG_LINE_COMMENT: line length of 105 exceeds 100 columns
#662: FILE: devtools/review-doc.sh:526:
+msg_match = re.search(r'---COMMIT_MESSAGE_START---\s*
(.*?)
---COMMIT_MESSAGE_END---', text, re.DOTALL)
WARNING:LONG_LINE_COMMENT: line length of 102 exceeds 100 columns
#674: FILE: devtools/review-doc.sh:538:
+diff_match = re.search(r'---UNIFIED_DIFF_START---\s*
(.*?)
---UNIFIED_DIFF_END---', text, re.DOTALL)
WARNING:LONG_LINE_COMMENT: line length of 127 exceeds 100 columns
#803: FILE: devtools/review-doc.sh:667:
+ REQUEST=$(build_anthropic_request "$MODEL" "$MAX_TOKENS" "$AGENTS_CONTENT" "$DOC_CONTENT" "$DOC_FILE" "$COMMIT_PREFIX")
WARNING:LONG_LINE_COMMENT: line length of 124 exceeds 100 columns
#816: FILE: devtools/review-doc.sh:680:
+ REQUEST=$(build_openai_request "$MODEL" "$MAX_TOKENS" "$AGENTS_CONTENT" "$DOC_CONTENT" "$DOC_FILE" "$COMMIT_PREFIX")
WARNING:LONG_LINE_COMMENT: line length of 124 exceeds 100 columns
#829: FILE: devtools/review-doc.sh:693:
+ REQUEST=$(build_openai_request "$MODEL" "$MAX_TOKENS" "$AGENTS_CONTENT" "$DOC_CONTENT" "$DOC_FILE" "$COMMIT_PREFIX")
WARNING:LONG_LINE_COMMENT: line length of 115 exceeds 100 columns
#842: FILE: devtools/review-doc.sh:706:
+ REQUEST=$(build_google_request "$MAX_TOKENS" "$AGENTS_CONTENT" "$DOC_CONTENT" "$DOC_FILE" "$COMMIT_PREFIX")
total: 0 errors, 14 warnings, 734 lines checked
More information about the test-report
mailing list