Check Python 3 source with Pylint running with Python 2 -
some checks of pylint depending on whether checked source code of kind python 2 or python 3. e.g., see how avoid pylint warnings constructor of inherited class in python 3?.
in setup run pylint on development server, using python 2.7. however, use pylint automatically check python 3 code on each commit.
how can configure pylint perform checking python 3, if runs under python 2?
short answer: can't.
pylint using builtin python parser, , standard library information on demand, python version running pylint has high impact on output.
you should have several pylint installations if want use check both python 2 , python 3 code.
Comments
Post a Comment