Optimize Github workflow autoyapf
ShivamSinghal1 opened this issue · 3 comments
ShivamSinghal1 commented
Introduction
autoyapf is a GitHub workflow used to automatically reformatting the python code to PEP8 format using yapf whenever a pull request to master is initiated.
Current Behaviour
Currently, it checks and reformats all the '.py' files in the repository but this can be optimize by just checking which file has been updated and only reformat those files.
Expected Behaviour
Optimize autoyapf.yml file so that it only reformat those files in PR which is updated by the contributor in the following PR.
prahasR commented
Hi @ShivamSinghal1 can you please assign this to me.
ShivamSinghal1 commented
Yes, you can work on this.
prahasR commented
@ShivamSinghal1 created PR, please review.