sumpfralle commented on code in PR #16401:
URL: https://github.com/apache/nuttx/pull/16401#discussion_r2094235869


##########
tools/checkpatch.sh:
##########
@@ -125,7 +126,14 @@ check_file() {
   fi
 
   if [ $spell != 0 ]; then
-    if ! codespell -q 7 ${@: -1}; then
+    if [ "$codespell_config_file_location_was_shown_once" != "1" ]; then

Review Comment:
   I would not call it an option, but a flag. I introduced it to track whether 
the configuration file location was already displayed in this run of 
`checkpatch`. Without this flag, the path of the configuration file would be 
emitted for *every single* file, that was changed.
   
   I do not have an opinion here.



-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to