Dinnerbone / mcstatus

A Python class for checking the status of an enabled Minecraft server
http://dinnerbone.com/minecraft/tools/status/
1.11k stars 146 forks source link

Add black auto-formatter github action/workflow #124

Closed Iapetus-11 closed 3 years ago

Iapetus-11 commented 3 years ago

This GitHub action runs on pushes to the repository, and auto-formats Python code in the black style, I use it for most of my projects and it helps keep everything tidy! This particular workflow/action waits for commits, checks to see if anything needs to be auto-formatted, and if there is it creates a commit for it.

You can read more about black here.

Iapetus-11 commented 3 years ago

As you can see it ran on my fork already, and formatted all the code nicely.