Tribler / bami

BAMI 🍜 protocol prototype: Ultimate Toolbox for Collaboration
9 stars 9 forks source link

Fail the PR pipeline when black has not been applied #30

Closed devos50 closed 3 years ago

devos50 commented 4 years ago

Sometimes, I forget to run the black formatter, resulting in inconsistent code formatting. In this situation, it would be helpful if the PR tool errors and advises me to run the formatter.

grimadas commented 4 years ago

Additionally you can add a GitHub-prehook with an automatic black formatter