updates string formating to respect PEP8