[1856] Fixed some pylint errors again