https://towardsdatascience.com/keep-your-code-clean-using-black-pylint-git-hooks-pre-commit-baf6991f7376
Expected behavior:
add a pre-commit hook which does the following
- Check for formatting issue when
git commit is used.
- runs black to format if issue is found else exits