Skip to content

Commit 2b5d135

Browse files
committed
Increase number of lines to search for import ids
1 parent 73c3855 commit 2b5d135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def reposition_match(self, line, col, m, virtual_view):
136136
# The import_id will be 'z' in that case.
137137
# Since, it is usual to spread imports on multiple lines, we
138138
# search MAX_LINES for `import_id` starting with the reported line.
139-
MAX_LINES = 10
139+
MAX_LINES = 30
140140
match = CAPTURE_IMPORT_ID.search(m.message)
141141
if match:
142142
import_id = match.group(1)

0 commit comments

Comments
 (0)