11-- -
22source : crates / ruff_linter / src / rules / flake8_tidy_imports / mod .rs
33-- -
4- TID252 .py :7 :1 : TID252 Relative imports are banned
4+ TID252 .py :7 :1 : TID252 Prefer absolute imports over relative imports
55 |
666 | # TID252
777 | from . import sibling
@@ -11,7 +11,7 @@ TID252.py:7:1: TID252 Relative imports are banned
1111 |
1212 = help : Replace relative imports with absolute imports
1313
14- TID252 .py :8 :1 : TID252 Relative imports are banned
14+ TID252 .py :8 :1 : TID252 Prefer absolute imports over relative imports
1515 |
1616 6 | # TID252
1717 7 | from . import sibling
@@ -22,7 +22,7 @@ TID252.py:8:1: TID252 Relative imports are banned
2222 |
2323 = help : Replace relative imports with absolute imports
2424
25- TID252 .py :9 :1 : TID252 Relative imports are banned
25+ TID252 .py :9 :1 : TID252 Prefer absolute imports over relative imports
2626 |
2727 7 | from . import sibling
2828 8 | from .sibling import example
@@ -33,7 +33,7 @@ TID252.py:9:1: TID252 Relative imports are banned
3333 |
3434 = help : Replace relative imports with absolute imports
3535
36- TID252 .py :10 :1 : TID252 Relative imports are banned
36+ TID252 .py :10 :1 : TID252 Prefer absolute imports over relative imports
3737 |
3838 8 | from .sibling import example
3939 9 | from .. import parent
@@ -44,7 +44,7 @@ TID252.py:10:1: TID252 Relative imports are banned
4444 |
4545 = help : Replace relative imports with absolute imports
4646
47- TID252 .py :11 :1 : TID252 Relative imports are banned
47+ TID252 .py :11 :1 : TID252 Prefer absolute imports over relative imports
4848 |
4949 9 | from .. import parent
505010 | from ..parent import example
@@ -55,7 +55,7 @@ TID252.py:11:1: TID252 Relative imports are banned
5555 |
5656 = help : Replace relative imports with absolute imports
5757
58- TID252 .py :12 :1 : TID252 Relative imports are banned
58+ TID252 .py :12 :1 : TID252 Prefer absolute imports over relative imports
5959 |
606010 | from ..parent import example
616111 | from ... import grandparent
@@ -66,7 +66,7 @@ TID252.py:12:1: TID252 Relative imports are banned
6666 |
6767 = help : Replace relative imports with absolute imports
6868
69- TID252 .py :13 :1 : TID252 Relative imports are banned
69+ TID252 .py :13 :1 : TID252 Prefer absolute imports over relative imports
7070 |
717111 | from ... import grandparent
727212 | from ... grandparent import example
@@ -77,7 +77,7 @@ TID252.py:13:1: TID252 Relative imports are banned
7777 |
7878 = help : Replace relative imports with absolute imports
7979
80- TID252 .py :14 :1 : TID252 Relative imports are banned
80+ TID252 .py :14 :1 : TID252 Prefer absolute imports over relative imports
8181 |
828212 | from ... grandparent import example
838313 | from .parent import hello
@@ -90,7 +90,7 @@ TID252.py:14:1: TID252 Relative imports are banned
9090 |
9191 = help : Replace relative imports with absolute imports
9292
93- TID252 .py :17 :1 : TID252 Relative imports are banned
93+ TID252 .py :17 :1 : TID252 Prefer absolute imports over relative imports
9494 |
959515 | parent import \
969616 | hello_world
@@ -104,7 +104,7 @@ TID252.py:17:1: TID252 Relative imports are banned
104104 |
105105 = help : Replace relative imports with absolute imports
106106
107- TID252 .py :21 :1 : TID252 Relative imports are banned
107+ TID252 .py :21 :1 : TID252 Prefer absolute imports over relative imports
108108 |
10910919 | import \
11011020 | world_hello
@@ -115,7 +115,7 @@ TID252.py:21:1: TID252 Relative imports are banned
115115 |
116116 = help : Replace relative imports with absolute imports
117117
118- TID252 .py :22 :1 : TID252 Relative imports are banned
118+ TID252 .py :22 :1 : TID252 Prefer absolute imports over relative imports
119119 |
12012020 | world_hello
12112121 | from ... .. import ultragrantparent
@@ -126,7 +126,7 @@ TID252.py:22:1: TID252 Relative imports are banned
126126 |
127127 = help : Replace relative imports with absolute imports
128128
129- TID252 .py :23 :1 : TID252 Relative imports are banned
129+ TID252 .py :23 :1 : TID252 Prefer absolute imports over relative imports
130130 |
13113121 | from ... .. import ultragrantparent
13213222 | from ...... import ultragrantparent
@@ -137,7 +137,7 @@ TID252.py:23:1: TID252 Relative imports are banned
137137 |
138138 = help : Replace relative imports with absolute imports
139139
140- TID252 .py :24 :1 : TID252 Relative imports are banned
140+ TID252 .py :24 :1 : TID252 Prefer absolute imports over relative imports
141141 |
14214222 | from ...... import ultragrantparent
14314323 | from ...... . import ultragrantparent
@@ -148,7 +148,7 @@ TID252.py:24:1: TID252 Relative imports are banned
148148 |
149149 = help : Replace relative imports with absolute imports
150150
151- TID252 .py :25 :1 : TID252 Relative imports are banned
151+ TID252 .py :25 :1 : TID252 Prefer absolute imports over relative imports
152152 |
15315323 | from ...... . import ultragrantparent
15415424 | from ......... import ultragrantparent
@@ -159,7 +159,7 @@ TID252.py:25:1: TID252 Relative imports are banned
159159 |
160160 = help : Replace relative imports with absolute imports
161161
162- TID252 .py :26 :1 : TID252 Relative imports are banned
162+ TID252 .py :26 :1 : TID252 Prefer absolute imports over relative imports
163163 |
16416424 | from ......... import ultragrantparent
16516525 | from ........................... import ultragrantparent
@@ -170,7 +170,7 @@ TID252.py:26:1: TID252 Relative imports are banned
170170 |
171171 = help : Replace relative imports with absolute imports
172172
173- TID252 .py :27 :1 : TID252 Relative imports are banned
173+ TID252 .py :27 :1 : TID252 Prefer absolute imports over relative imports
174174 |
17517525 | from ........................... import ultragrantparent
17617626 | from ... ..parent import ultragrantparent
@@ -180,7 +180,7 @@ TID252.py:27:1: TID252 Relative imports are banned
180180 |
181181 = help : Replace relative imports with absolute imports
182182
183- TID252 .py :28 :1 : TID252 Relative imports are banned
183+ TID252 .py :28 :1 : TID252 Prefer absolute imports over relative imports
184184 |
18518526 | from ... ..parent import ultragrantparent
18618627 | from ......... parent import ultragrantparent
0 commit comments