Installation and Pylint error

Re: Installation and Pylint error

by Jon Witts -
Number of replies: 0
Thanks...

I had nothing in /usr/local/bin at all so I created the pylint file as you suggested. On first run it failed as I don't have python in /usr/local/bin either...

Updated the pylint script to:

#!/usr/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from pylint import run_pylint
if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
    sys.exit(run_pylint())

run chmod +x /usr/local/bin/pylint and all seems to be well now.

Thanks :-)