Skip to content

Commit 1e95b8b

Browse files
committed
Fix issue python-mode#447.
1 parent a62f8ab commit 1e95b8b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • pymode/libs/pylama/lint/pylama_pep8

pymode/libs/pylama/lint/pylama_pep8/pep8.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ def maximum_line_length(physical_line, max_line_length, multiline):
199199
200200
Reports error E501.
201201
"""
202+
max_line_length = int(max_line_length)
202203
line = physical_line.rstrip()
203204
length = len(line)
204205
if length > max_line_length and not noqa(line):

0 commit comments

Comments
 (0)