Automatically run Black in PyCharm on Windows

Oppdatert: 9. oktober 2024

I often forget to run the code formatter before I commit code to git. This is bad since the following commits will contain irrelevant…