diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2012-06-26 08:55:48 -0700 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2012-06-26 08:55:48 -0700 |
commit | d01bb58ddc8c406a1daf00c47106e56b33043d59 (patch) | |
tree | 643145f483e2ebb396e37d001c097a545d07ba56 | |
parent | ded046e0e006f216ead8905a270ee2a61eca407e (diff) | |
parent | f1573ea1076401fb784d609fc9d39279dbe3a940 (diff) | |
download | pep8-d01bb58ddc8c406a1daf00c47106e56b33043d59.tar.gz |
Merge pull request #88 from dpursehouse/max-line-length
Show maximum length in "E501 line too long" error message
-rwxr-xr-x | pep8.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -272,7 +272,8 @@ def maximum_line_length(physical_line, max_line_length): pass if length > max_line_length: return max_line_length, \ - "E501 line too long (%d characters)" % length + "E501 line too long (%d characters > max %d)" % \ + (length, max_line_length) ############################################################################## |