Code passes pylint now.