bneradt opened a new pull request, #12696:
URL: https://github.com/apache/trafficserver/pull/12696

   Our format target does formatting of C++ and Python files via clang-format 
and yapf. Annoyingly, it hasn't done some extra whitespace checks that CI does. 
So a PR can be made that passes `format` locally but then CI will reject it for 
trailing whitespace, or DOS line endinds. This adds a new 
tools/whitespace-format.sh script that automatically fixes trailing whitespace 
and DOS carriage returns, matching the checks performed by CI. This script is 
then integrated into the `format` cmake target so it gets run for that.
   
   I verified that the script works on both Linux and Mac.


-- 
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]

Reply via email to