Updating the pylint linter to set the output fomat correctly depending on the version of pylint installed