Skip to content

Commit 28ed71b

Browse files
committed
Reposition E305 just like E302
1 parent 3c97273 commit 28ed71b

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
@@ -118,7 +118,7 @@ def reposition_match(self, line, col, m, virtual_view):
118118
length = len(match.group(1))
119119
return (line, col, col + length)
120120

121-
if code == 'E302':
121+
if code in ('E302', 'E305'):
122122
return line - 1, 0, 1
123123

124124
if code == 'E303':

0 commit comments

Comments
 (0)