Skip to content

ci: Replace checkstyle.py with pre-commit framework#910

Merged
naushir merged 1 commit intomainfrom
ci
Apr 10, 2026
Merged

ci: Replace checkstyle.py with pre-commit framework#910
naushir merged 1 commit intomainfrom
ci

Conversation

@naushir
Copy link
Copy Markdown
Collaborator

@naushir naushir commented Apr 10, 2026

Add .pre-commit-config.yaml with clang-format, ruff, shellcheck, trailing-whitespace, end-of-file-fixer, check-json, and gitlint hooks. Add .gitlint config requiring Signed-off-by and 80 char line limits. Update .clang-format PackConstructorInitializers to BinPack. Delete utils/checkstyle.py and add utils/pre-commit-hook template.

Add .pre-commit-config.yaml with clang-format, ruff, shellcheck,
trailing-whitespace, end-of-file-fixer, check-json, and gitlint hooks.
Add .gitlint config requiring Signed-off-by and 80 char line limits.
Update .clang-format PackConstructorInitializers to BinPack.
Delete utils/checkstyle.py and add utils/pre-commit-hook template.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
@naushir naushir merged commit 3d55142 into main Apr 10, 2026
2 of 3 checks passed
@naushir naushir deleted the ci branch April 10, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant