Skip to main content
edited body
Source Link
tshepang
  • 12.5k
  • 25
  • 98
  • 140

Short answer is : you can't.

Pylint is using the builtin Python parser, and also get standard library information on demand, so the pythonPython version running pylint asPylint has a high impact on its output.

You should have several pylintPylint installations if you want to use it to check both pythonPython 2 and pythonPython 3 codescode.

Short answer is : you can't.

Pylint is using the builtin Python parser, and also get standard library information on demand, so the python version running pylint as a high impact on its output.

You should have several pylint installations if you want to use it to check both python 2 and python 3 codes.

Short answer: you can't.

Pylint is using the builtin Python parser, and also get standard library information on demand, so the Python version running Pylint has a high impact on its output.

You should have several Pylint installations if you want to use it to check both Python 2 and Python 3 code.

Source Link
sthenault
  • 15.2k
  • 5
  • 40
  • 32

Short answer is : you can't.

Pylint is using the builtin Python parser, and also get standard library information on demand, so the python version running pylint as a high impact on its output.

You should have several pylint installations if you want to use it to check both python 2 and python 3 codes.