Automating the Python workflow using pre-commits: black and flake8

This will force you to commit Python code that follows those rules.
I was thinking about implementing this.
Is there any interest in this?