#!/usr/bin/env python2 """Run pylint, with a good argv[0]""" import sys from pylint import run_pylint if __name__ == '__main__': sys.argv[0] = 'pylint' sys.exit(run_pylint())