I am trying to use pylint to check python3 code. I get "Unnecessary parens after 'print' keyword" for every print. I installed it with "pip3 install --user pylint" , and "cat $(which pylint)" gives #!/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()) So I'm pretty sure I have the correct version. Is there some configuration paramter to force python3 checking? I couldn't find anything in the docs. I can just turn off that particular warning, but is that what everyone who uses pylint for python 3 does?
_______________________________________________ code-quality mailing list code-quality@python.org https://mail.python.org/mailman/listinfo/code-quality