This GitHub Action runs after any commit to any branch. It applies the Black code formatter (kudos @makupi for recommending this formatter), and any fixes it finds are automatically committed and pushed.
An alternative to this is to run a check against every PR and request changes if it fails, but I'm thinking it would be simpler to let contributors be worry-free and let this take care of formatting automatically. Happy to hear what others think.
This GitHub Action runs after any commit to any branch. It applies the Black code formatter (kudos @makupi for recommending this formatter), and any fixes it finds are automatically committed and pushed.
An alternative to this is to run a check against every PR and request changes if it fails, but I'm thinking it would be simpler to let contributors be worry-free and let this take care of formatting automatically. Happy to hear what others think.