|
2 | 2 | source: crates/ruff_linter/src/rules/flake8_todos/mod.rs
|
3 | 3 | snapshot_kind: text
|
4 | 4 | ---
|
5 |
| -TD003.py:9:3: TD003 Missing issue link on the line following this TODO |
| 5 | +TD003.py:15:3: TD003 Missing issue link on the line following this TODO |
6 | 6 | |
|
7 |
| - 8 | # TDO003 - errors |
8 |
| - 9 | # TODO: this comment has no |
| 7 | +14 | # TDO003 - errors |
| 8 | +15 | # TODO: this comment has no |
9 | 9 | | ^^^^ TD003
|
10 |
| -10 | # link after it |
| 10 | +16 | # link after it |
11 | 11 | |
|
12 | 12 |
|
13 |
| -TD003.py:12:3: TD003 Missing issue link on the line following this TODO |
| 13 | +TD003.py:18:3: TD003 Missing issue link on the line following this TODO |
14 | 14 | |
|
15 |
| -10 | # link after it |
16 |
| -11 | |
17 |
| -12 | # TODO: here's a TODO with no link after it |
| 15 | +16 | # link after it |
| 16 | +17 | |
| 17 | +18 | # TODO: here's a TODO with no link after it |
18 | 18 | | ^^^^ TD003
|
19 |
| -13 | def foo(x): |
20 |
| -14 | return x |
| 19 | +19 | def foo(x): |
| 20 | +20 | return x |
21 | 21 | |
|
22 | 22 |
|
23 |
| -TD003.py:25:3: TD003 Missing issue link on the line following this TODO |
| 23 | +TD003.py:31:3: TD003 Missing issue link on the line following this TODO |
24 | 24 | |
|
25 |
| -23 | # TDO-3870 |
26 |
| -24 | |
27 |
| -25 | # TODO: here's a TODO without an issue link |
| 25 | +29 | # TDO-3870 |
| 26 | +30 | |
| 27 | +31 | # TODO: here's a TODO without an issue link |
28 | 28 | | ^^^^ TD003
|
29 |
| -26 | # TODO: followed by a new TODO with an issue link |
30 |
| -27 | # TDO-3870 |
| 29 | +32 | # TODO: followed by a new TODO with an issue link |
| 30 | +33 | # TDO-3870 |
31 | 31 | |
|
32 | 32 |
|
33 |
| -TD003.py:29:9: TD003 Missing issue link on the line following this TODO |
| 33 | +TD003.py:35:9: TD003 Missing issue link on the line following this TODO |
34 | 34 | |
|
35 |
| -27 | # TDO-3870 |
36 |
| -28 | |
37 |
| -29 | # foo # TODO: no link! |
| 35 | +33 | # TDO-3870 |
| 36 | +34 | |
| 37 | +35 | # foo # TODO: no link! |
38 | 38 | | ^^^^ TD003
|
39 |
| -30 | |
40 |
| -31 | # TODO: here's a TODO on the last line with no link |
| 39 | +36 | |
| 40 | +37 | # TODO: here's a TODO on the last line with no link |
41 | 41 | |
|
42 | 42 |
|
43 |
| -TD003.py:31:3: TD003 Missing issue link on the line following this TODO |
| 43 | +TD003.py:37:3: TD003 Missing issue link on the line following this TODO |
44 | 44 | |
|
45 |
| -29 | # foo # TODO: no link! |
46 |
| -30 | |
47 |
| -31 | # TODO: here's a TODO on the last line with no link |
| 45 | +35 | # foo # TODO: no link! |
| 46 | +36 | |
| 47 | +37 | # TODO: here's a TODO on the last line with no link |
48 | 48 | | ^^^^ TD003
|
49 | 49 | |
|
0 commit comments