tahazarif10 opened a new pull request, #20147: URL: https://github.com/apache/nuttx/pull/20147
## Summary * Document the Python formatting and linting tools enforced by `tools/checkpatch.sh` and CI: `black`, `isort`, and `flake8`. * Show how to check a Python file with `checkpatch.sh -f` and use the existing Python auto-format path with `checkpatch.sh -x`. * Point contributors to the existing pre-commit documentation instead of duplicating it. * Fixes #16264. ## Impact * Is new feature added? Is existing feature changed? NO. * Impact on user (will user need to adapt to change)? NO. * Impact on build (will build process change)? NO. * Impact on hardware (will arch(s) / board(s) / driver(s) change)? NO. * Impact on documentation (is update required / provided)? YES. Contributor documentation is updated. * Impact on security (any sort of implications)? NO. * Impact on compatibility (backward/forward/interoperability)? NO. * Anything else to consider or add? Documentation-only change. ## Testing The documented commands and tool set were verified against the current `tools/checkpatch.sh` implementation and CI configuration. No runtime or hardware testing is applicable to this documentation-only change. ## PR verification Self-Check * [x] This PR introduces only one functional change. * [x] I have updated all required description fields above. * [x] My PR adheres to Contributing Guidelines and Documentation requirements. * [ ] My PR is still work in progress (not ready for review). * [x] My PR is ready for review and can be safely merged into a codebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
