style: enforce black formatting
Created by: redeboer
I noticed there is a .pre-commit-config.yaml that runs black. However, black has not yet been run over the source code and the formatting is also not enforce through the CI.
@jiangyi15 Could you run
pre-commit run -a
commit, and push to this PR? Then the CI will work again. If I were to do that, that would look as though I made a lot of changes to your code, which would be unfair to your work.