Find and fix format string bugs in python

Step 1: Install

pip3 install flake8_string_format

Step 2: Run

find . -type f -name \*.py -print0 | xargs -0 python3 -m flake8_string_format --ignore P101,P102,P103