jbampton commented on PR #377:
URL: https://github.com/apache/openoffice/pull/377#issuecomment-3026431537

   > Hi John,
   > 
   > i do a review and then get this PR closed. Can you provide me some 
context? You did this automated somehow? Thanks. all the best
   
   Hello @leginee 
   
   So this trailing whitespace was auto removed by running pre-commit.  
   
   https://pre-commit.com/
   
   pre-commit is a framework for managing and maintaining multi-language 
pre-commit hooks.
   
   So the command I run here is:
   
   `pre-commit run --all-files` from the repo root.  This will run all "hooks" 
against all files.
   
   So I am using an official pre-commit hook to remove the trailing whitespace 
seen here:
   
   
https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#trailing-whitespace
   
   I have written some documentation about pre-commit for Apache Sedona here:
   
   https://sedona.apache.org/latest-snapshot/setup/compile/#pre-commit
   
   So pre-commit is a Python Package and can be installed with `pip`
   
   You can see the Open Office pre-commit config file in the repo root here:
   
   https://github.com/apache/openoffice/blob/trunk/.pre-commit-config.yaml
   
   So we are running about 10 hooks including "codespell" to check for spelling 
mistakes.
   
   If you need any more information just let me know.  Thanks
   
   
   
   


-- 
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: dev-unsubscr...@openoffice.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to