Fix PyLint warnings from the last CI build