python3 -m venv venv
. venv/bin/activate
pip install -r requiremenets.txt
chmod +x run.sh
pre-commit install
./run.sh
python3 -m unittest tests/__main__.py
For reformatting code
More about it: https://github.com/psf/black
For upgrade python code syntax for newer versions of the language
More about it: https://github.com/asottile/pyupgrade
Tool for automatically reordering python imports
More about it: https://github.com/asottile/reorder_python_imports
Removes unused imports and unused variables from Python code
More about it: https://github.com/PyCQA/autoflake