Many of you have GIT code repositories, in this post I’ll show you how to make your Python code better.
I’ll use this repository as an example: https://github.com/Aykhan-sh/pandaseda
Fork it and try to make the code better.
Improving code readability
Improving the readability of your code is easy. We will use libraries for syntax formatting and validation.
First, let’s create configuration files for flake8, mypy and black in the repository.
Let’s install them first:
pip install black flake8 mypy