Csaba Ringhofer has uploaded this change for review. ( https://gerrit.cloudera.org/25623
Change subject: IMPALA-15895: Make AGENTS.md style rules checkable ...................................................................... IMPALA-15895: Make AGENTS.md style rules checkable Agents tend to estimate line length rather than measure it, and so produce lines just over the 90-character limit. AGENTS.md also did not say how wide commit messages should be, while most Impala commits wrap at 72 characters. This updates the Coding Standards in AGENTS.md: - Require running bin/jenkins/critique-gerrit-review.py --dryrun after committing and before pushing, which reproduces gerrit-auto-critic. Agents fix the findings their commit introduces, but not existing problems in code the commit does not otherwise change. - Allow exceeding the 90-character limit for a good reason, e.g. a long URL that would break if split. - Remove the rules on trailing whitespace and blank lines, and the pointer to the checker's exclusion lists, as the checker handles these by itself. - Add the Python conventions from the Impala Style Guide wiki page, which agents do not read. - Require wrapping commit messages at 72 characters. Testing: - ran bin/jenkins/critique-gerrit-review.py --dryrun on this commit Change-Id: I10b55ebd119bf89e1dbd14ff7d5e1b1402afd0c5 Assisted-by: Claude Opus 5.5 (Claude Code) --- M AGENTS.md 1 file changed, 13 insertions(+), 5 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/23/25623/1 -- To view, visit https://gerrit.cloudera.org/25623 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I10b55ebd119bf89e1dbd14ff7d5e1b1402afd0c5 Gerrit-Change-Number: 25623 Gerrit-PatchSet: 1 Gerrit-Owner: Csaba Ringhofer <[email protected]>
