Fix some pylint errors, remove salt_proxy_minion function in scripts.