Code-dig-ger/Backend

Optimize Github workflow autoyapf

ShivamSinghal1 opened this issue · 3 comments

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.

Hi @ShivamSinghal1 can you please assign this to me.

Yes, you can work on this.

@ShivamSinghal1 created PR, please review.