Odds are that you'll have lots of discussions on code style with your colleagues. Instead of argueing it may be a better idea to just have a standard that automatically formats all of your code. In this scenarios you may want to use black.
The pre-commit config file will look like this;
repos: - repo: https://github.com/psf/black rev: stable hooks: - id: black language_version: python3.6
If you're interested in learning more about these; we've got a series of videos on pre-commit hooks.
Feedback? See an issue? Something unclear? Feel free to mention it here.
If you want to be kept up to date, consider getting the newsletter.