Skip to content

Commit a7e937a

Browse files
fix: scope wrong-import-position pragma to specific line only
Signed-off-by: Emmanuel Ferdman <[email protected]>
1 parent 8cace41 commit a7e937a

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Scope ``wrong-import-position`` pragma to specific line only.
2+
3+
Closes #10589
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
wrong-import-position:19:0:19:9::"Import ""import os"" should be placed at the top of the module":UNDEFINED
2-
wrong-import-position:20:0:20:14::"Import ""import pathlib"" should be placed at the top of the module":UNDEFINED
3-
wrong-import-position:21:0:21:13::"Import ""import random"" should be placed at the top of the module":UNDEFINED
4-
wrong-import-position:29:0:29:10::"Import ""import csv"" should be placed at the top of the module":UNDEFINED
5-
wrong-import-position:30:0:30:9::"Import ""import re"" should be placed at the top of the module":UNDEFINED
1+
wrong-import-position:12:0:12:9::"Import ""import os"" should be placed at the top of the module":UNDEFINED
2+
wrong-import-position:13:0:13:14::"Import ""import pathlib"" should be placed at the top of the module":UNDEFINED
3+
wrong-import-position:14:0:14:13::"Import ""import random"" should be placed at the top of the module":UNDEFINED
4+
wrong-import-position:22:0:22:10::"Import ""import csv"" should be placed at the top of the module":UNDEFINED
5+
wrong-import-position:23:0:23:9::"Import ""import re"" should be placed at the top of the module":UNDEFINED

0 commit comments

Comments
 (0)