fixes pylint errors

3 jobs for 1-job-failed-14313 in 2 minutes and 26 seconds