Closed Vadorequest closed 5 years ago
Python 2 is supported, but pylint
runs on Python 3 nevertheless. No additional config is necessary. Here we use pylint
to aid us in migrating from Python 2 to 3. Here's an excerpt from our yml
:
engines:
pylint:
enabled: true
channel: "beta"
And our .pylintrc
:
[MASTER]
py3k=yes
[MESSAGES CONTROL]
disable=W1662
I recommend you disable the Django plugin temporarily to check whether that is part of the problem.
Thanks, it works indeed! (without django plugin)
I suggest to update the doc at https://docs.codeclimate.com/docs/pylint and show the setup for python 2, I was missing the .pylintrc
Edit: Enabling django plugin worked as well, but without any visible change in reported issues
Is python 2 supported?
I followed https://docs.codeclimate.com/docs/pylint and got the following error on Code Climate:
I tried to use the following config in my
.codeclimate.yml
:But the same error happened. (tried that out of the blue, because that's how radon does https://docs.codeclimate.com/docs/radon)
I'm using python 2.7 with django 1.8.