Keeping python code clean with pre-commit hooks: black, flake8 and isort

Python code snippet photo by Chris Ried on Unsplash At a fast-paced startup, where many commits are pushed frequently across various projects and multiple merge requests are created daily, reviewing them and maintaining code quality standards like code compliance with PEP8 all at the same time is a huge challenge. Making peeps correct their code format or telling them to make changes to follow the pep8 standard is irritating for both....

November 20, 2019 · 5 min · Rohit Gupta