This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 5bb06fc9215e3f6b05db5b92aff09646f7775036
Author: Marco Casaroli <[email protected]>
AuthorDate: Tue Oct 27 19:49:58 2026 +0100

    Documentation: Allow a long SPDX line in the coding standard.
    
    nxstyle does not report a long line with an SPDX tag: its copyright
    notice is kept as it is.  Say so in the Line Width rule.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 Documentation/contributing/coding_style.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/contributing/coding_style.rst 
b/Documentation/contributing/coding_style.rst
index 7d38dc16e2c..38549565cb1 100644
--- a/Documentation/contributing/coding_style.rst
+++ b/Documentation/contributing/coding_style.rst
@@ -167,6 +167,8 @@ content of a file may require that the lines exceed this 
limit.
 This often occurs in header files with naturally long definitions.
 If the line width must extend 78 lines, then some wider line width
 may be used in the file provided that it is used consistently.
+A line with an SPDX tag (for example ``SPDX-FileCopyrightText``) may
+be longer: its copyright notice is kept as it is.
 
 **Line Wrapping**.
 

Reply via email to