Based on the feedback from contributors, it looks like it is not very obvious how to enforce the code-style for python and scala in the project. pre-commit looks like a good solution that can simplify the contribution process and allows to avoid boring code-style / linters warning fixes.
cc: @rjurney