SPI-2295: Add pre_commit, black
Add pre_commit and black
Reopened because previous MR got a bit spammed down (old: !1690 (closed))
To run the testing, add a comment with:
Bot test PACKAGE[ PACKAGE2 ...]|all in TOOLCHAIN|all [(only|also) for LABEL-COMPILER-BUILDTYPE] please!
To ensure patches required for existing LCG branches are not lost, please add the respective labels: alsoTargeting:LCG_102-patches, alsoTargeting:master, etc.