Skip to content

Commit

Permalink
Increase number of lines to search for import ids
Browse files Browse the repository at this point in the history
  • Loading branch information
kaste committed Jul 10, 2021
1 parent 73c3855 commit 2b5d135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def reposition_match(self, line, col, m, virtual_view):
# The import_id will be 'z' in that case.
# Since, it is usual to spread imports on multiple lines, we
# search MAX_LINES for `import_id` starting with the reported line.
MAX_LINES = 10
MAX_LINES = 30
match = CAPTURE_IMPORT_ID.search(m.message)
if match:
import_id = match.group(1)
Expand Down

0 comments on commit 2b5d135

Please sign in to comment.