obiwac / python-minecraft-clone

Source code for each episode of my Minecraft clone in Python YouTube tutorial series.
https://www.youtube.com/playlist?list=PL6_bLxRDFzoKjaa3qCGkwR5L_ouSreaVP
MIT License
166 stars 83 forks source link

Formatting & linting #107

Closed obiwac closed 3 months ago

obiwac commented 3 months ago

This is really something I should've done since the beginning.

I'm using tan for this, which is just a fork of black which adds a --use-tabs switch. Black imposes spaces because, apparently, "tabs are the devil". This is a massive L take so I will choose to ignore this and go with tan.

With Ruff, we wanna ignore the following diagnostics: