MuhammadTahaNaveed opened a new pull request, #465:
URL: https://github.com/apache/age/pull/465

   ### What I did
   Created a workflow to ensure that any files touched or created by PR or 
commit is meeting the code formatting standard/rules defined in 
`.clang-format`. I used pre-commit to scan the code and generate automatic 
warnings on code style violations. 
   
   ### Why I did it
   There were some code formatting standards defined in `clang-format.5` ( 
renamed to `.clang-format` in this PR ) but there is no workflow to ensure that 
any new PR or commit is actually meeting that standard. This workflow will 
allow the reviewer to focus on architecture of a change while not wasting time 
with trivial style nitpicks. Contributor can review the warnings generated by 
pre-commit in case the check fails by seeing the details(refer img). 
   
![image](https://user-images.githubusercontent.com/85064039/209979768-86db1113-44fe-41dc-b362-278951bd13f1.png)
   
![image](https://user-images.githubusercontent.com/85064039/209980265-1f25077d-7507-4b46-94f6-1ddd28d4654f.png)
   
   
   - Resolves #380 
   
   


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