In pyannote.audio we have a a set of functions that run before commiting. This is through the pre-commit git hook. It makes code styling more consistent, checks for missing imports , unused imports, formats code that is to be changed, removes whitespace etc. I've seen @iver make a few commits to blackify code so thought this might help save him some time.
In pyannote.audio we have a a set of functions that run before commiting. This is through the pre-commit git hook. It makes code styling more consistent, checks for missing imports , unused imports, formats code that is to be changed, removes whitespace etc. I've seen @iver make a few commits to blackify code so thought this might help save him some time.
More details