banjtheman / defundthepolice

Defund The Police
Apache License 2.0
20 stars 30 forks source link

Github Action to run python black on all PRs #63

Closed banjtheman closed 4 years ago

banjtheman commented 4 years ago

What is the Task

Add a GitHub action that will run Python Black on all PRs https://pypi.org/project/black/

Why do we want to do this

To keep formating consistent

How can I get started?

Look for a Github action that will add run python black on all PRs

Definition of Done

A Github Action added that will run python black on all PRs

banjtheman commented 4 years ago

The action runs black, but need it to also add the formatting to the pr like this workflow

https://github.com/psf/Black/actions/runs/17913292/workflow