fixes for pylint