Apply set of suggestions from PyCharm