Disabling a pylint warning E501. Nothing is working

Question:

I know this question has already been asked but none of the solutions I have found are working for me. I want to disable the pylint warning E501, line too long while coding in pydev. I have tried in line comments # pylint: disable=E501 and even #pylint: disable=C3031.

I have made an rc file called standard.rc and put it in the options for pylint in eclipse as described here:
How do I disable a Pylint warning? and even went into the rc file and changed the maximum number of characters allowed on a line. But no luck at all!

Asked By: ruby74

||

Answers:

The E501 line too long error comes from pep8, not pylint.

You can run it as pep8 --ignore=E501 to avoid that report (specially if you are already checking long lines with pylint).

Answered By: Ángel

Have you tried just cranking up the max-line-length variable to an absurd number?

Example: pylint --max-line-length=999{rest of the command}

Answered By: schlpr0k
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.