8000 Fix issue #447. · dannon/python-mode@1e95b8b · GitHub
[go: up one dir, main page]

Skip to conte 8000 nt

Commit 1e95b8b

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

File tree

1 file changed

+1
-0
lines changed
  • pymode/libs/pylama/lint/pylama_pep8

1 file changed

+1
-0
lines changed

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)
0