You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a few things that might be good to have consistent code style for. This issue is for discussing which code style we should have and how we best achieve this.
Are we still interested in this? I have a GitHub action config that can apply black formatting and commit/push it out after any changes land on master.
Activity
DomNomNom commentedon Mar 24, 2019
Some preferences of mine at this point in time:
pathlib.Pathrather than strings for describing paths.import *amsam0 commentedon Jun 16, 2019
One option is Black. I'm not sure how the options work, but a batch file could be created for this.
DomNomNom commentedon Jun 16, 2019
Also, doing it as a pre-commit hook or something might be useful, so we avoid situations of people accidentally not running it.
amsam0 commentedon Jun 16, 2019
Not a pro on that, but good idea.
azeemba commentedon Jul 2, 2020
Are we still interested in this? I have a GitHub action config that can apply black formatting and commit/push it out after any changes land on master.
This is a commit the action pushed out: azeemba@8163214
Here is the configuration: action-test/.github/workflows/main.yml
Here are the logs: https://github.com/azeemba/RLBotGUI/runs/828744657?check_suite_focus=true
We could expand it to also do prettier for the JS code.