ChenZiHong-Gavin opened a new pull request, #47:
URL: https://github.com/apache/incubator-hugegraph-ai/pull/47

   According to https://github.com/apache/incubator-hugegraph-ai/issues/46, I 
think black for code format can be supported by black integration with github 
actions([black.readthedocs.io/en/stable/integrations/github_actions.html](https://black.readthedocs.io/en/stable/integrations/github_actions.html)).
   
   the workflow fails if Black finds files that need to be formatted, as can be 
seen in https://github.com/ChenZiHong-Gavin/incubator-hugegraph-ai/pull/17
   
![image](https://github.com/apache/incubator-hugegraph-ai/assets/58508660/b42dde7d-b111-47a9-8d44-c9c0dd81a592)
   
   so i think everyone should run black in ./style/code_format_and_analysis.sh 
before commit. (Perhaps it would be better to automatically trigger [the 
process] through GitHub Hooks rather than running it manually.)
   
   after that, Black passes the workflow, as can be seen in 
https://github.com/ChenZiHong-Gavin/incubator-hugegraph-ai/pull/18
   
![image](https://github.com/apache/incubator-hugegraph-ai/assets/58508660/fd3a9749-40ea-402c-ba2d-7948d4386fc3)
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to