Automatically run Black in PyCharm on Windows

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