Fix pylint warnings

6 jobs for master in 6 minutes and 57 seconds (queued for 1 second)