xiaoxiang781216 commented on PR #18257: URL: https://github.com/apache/nuttx/pull/18257#issuecomment-3819133577
> _Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md)._ > > ## Summary > This PR adds support for three nxstyle directives to allow fine-grained control over style checking, similar to clang-format directives. This addresses the challenge of enforcing code style consistency while accommodating generated code (e.g., protobuf-c types) that inherently violates NuttX coding standards. > @JianyuWang0623 The right approach isn't checking the pregenerated code, but call protoc in Makefile/cmake to generate the code during the build process. -- 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]
