Add isort thirdparty config for Travis
minor code cleanup