rsheftel / pandas_market_calendars

Exchange calendars to use with pandas for trading applications
MIT License
804 stars 173 forks source link

Request for help with Black and pre-commit hooks #288

Closed rsheftel closed 1 year ago

rsheftel commented 1 year ago

As the code base gets larger with contributions from a long list of people, the formatting of the individual files reflects the individual contributors. It has been suggested that we use Black as a standard code formatter.

As one of the maintainers I fully support this, but pre-commit / GitHub actions are not my area of expertise.

So this is a request for anyone that is adept at that to add a PR / Action to format all existing flies using Black, and add an Action that every PR and commit gets auto-formatted with Black.

Thank you

rsheftel commented 1 year ago

Thank you for the PR, this is now in the dev branch and will be moved to master on the next release.