Improve pylint score of AWS