ramblingjordan / AbBOT-python

MIT License
25 stars 15 forks source link

Add GitHub Action to run YAPF on code on pulls #29

Closed LakesideMiners closed 3 years ago

LakesideMiners commented 3 years ago

Wherever a push is made to the repo, a GitHub Action will run

yapf -i main.py
yapf -ir ./bot/*.py 

On all of the changed files, and will then automatically format them according to the style file

To clarify, this will run on the event push it could be changed to run on [push, pull_request]