mirror of https://github.com/astral-sh/ruff
Check in updated snapshot
This commit is contained in:
parent
12ed1837ee
commit
cee0d0abaa
|
|
@ -89,7 +89,7 @@ expression: diagnostics
|
||||||
column: 29
|
column: 29
|
||||||
fix:
|
fix:
|
||||||
content:
|
content:
|
||||||
- "\"Hel\\to\""
|
- "\"Helo\\t\""
|
||||||
location:
|
location:
|
||||||
row: 14
|
row: 14
|
||||||
column: 20
|
column: 20
|
||||||
|
|
@ -108,7 +108,7 @@ expression: diagnostics
|
||||||
column: 30
|
column: 30
|
||||||
fix:
|
fix:
|
||||||
content:
|
content:
|
||||||
- "r\"He\\tlo\""
|
- "r\"Helo\\t\""
|
||||||
location:
|
location:
|
||||||
row: 17
|
row: 17
|
||||||
column: 20
|
column: 20
|
||||||
|
|
@ -127,7 +127,7 @@ expression: diagnostics
|
||||||
column: 29
|
column: 29
|
||||||
fix:
|
fix:
|
||||||
content:
|
content:
|
||||||
- "\"Hel\\\\o\""
|
- "\"Helo\\\\\""
|
||||||
location:
|
location:
|
||||||
row: 20
|
row: 20
|
||||||
column: 20
|
column: 20
|
||||||
|
|
@ -146,7 +146,7 @@ expression: diagnostics
|
||||||
column: 30
|
column: 30
|
||||||
fix:
|
fix:
|
||||||
content:
|
content:
|
||||||
- "r\"He\\lo\""
|
- "r\"Helo\\\""
|
||||||
location:
|
location:
|
||||||
row: 23
|
row: 23
|
||||||
column: 20
|
column: 20
|
||||||
|
|
|
||||||
|
|
@ -1,278 +0,0 @@
|
||||||
---
|
|
||||||
source: crates/ruff/src/rules/pylint/mod.rs
|
|
||||||
assertion_line: 50
|
|
||||||
expression: diagnostics
|
|
||||||
---
|
|
||||||
- kind:
|
|
||||||
BadStrStripCall:
|
|
||||||
kind: Strip
|
|
||||||
location:
|
|
||||||
row: 2
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 2
|
|
||||||
column: 27
|
|
||||||
fix:
|
|
||||||
content:
|
|
||||||
- "\"Helo\""
|
|
||||||
location:
|
|
||||||
row: 2
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 2
|
|
||||||
column: 27
|
|
||||||
parent: ~
|
|
||||||
- kind:
|
|
||||||
BadStrStripCall:
|
|
||||||
kind: Strip
|
|
||||||
location:
|
|
||||||
row: 5
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 5
|
|
||||||
column: 27
|
|
||||||
fix:
|
|
||||||
content:
|
|
||||||
- "\"Helo\""
|
|
||||||
location:
|
|
||||||
row: 5
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 5
|
|
||||||
column: 27
|
|
||||||
parent: ~
|
|
||||||
- kind:
|
|
||||||
BadStrStripCall:
|
|
||||||
kind: Strip
|
|
||||||
location:
|
|
||||||
row: 8
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 8
|
|
||||||
column: 28
|
|
||||||
fix:
|
|
||||||
content:
|
|
||||||
- "u\"Helo\""
|
|
||||||
location:
|
|
||||||
row: 8
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 8
|
|
||||||
column: 28
|
|
||||||
parent: ~
|
|
||||||
- kind:
|
|
||||||
BadStrStripCall:
|
|
||||||
kind: Strip
|
|
||||||
location:
|
|
||||||
row: 11
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 11
|
|
||||||
column: 28
|
|
||||||
fix:
|
|
||||||
content:
|
|
||||||
- "r\"Helo\""
|
|
||||||
location:
|
|
||||||
row: 11
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 11
|
|
||||||
column: 28
|
|
||||||
parent: ~
|
|
||||||
- kind:
|
|
||||||
BadStrStripCall:
|
|
||||||
kind: Strip
|
|
||||||
location:
|
|
||||||
row: 14
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 14
|
|
||||||
column: 29
|
|
||||||
fix:
|
|
||||||
content:
|
|
||||||
- "\"Helo\\t\""
|
|
||||||
location:
|
|
||||||
row: 14
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 14
|
|
||||||
column: 29
|
|
||||||
parent: ~
|
|
||||||
- kind:
|
|
||||||
BadStrStripCall:
|
|
||||||
kind: Strip
|
|
||||||
location:
|
|
||||||
row: 17
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 17
|
|
||||||
column: 30
|
|
||||||
fix:
|
|
||||||
content:
|
|
||||||
- "r\"Helo\\t\""
|
|
||||||
location:
|
|
||||||
row: 17
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 17
|
|
||||||
column: 30
|
|
||||||
parent: ~
|
|
||||||
- kind:
|
|
||||||
BadStrStripCall:
|
|
||||||
kind: Strip
|
|
||||||
location:
|
|
||||||
row: 20
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 20
|
|
||||||
column: 29
|
|
||||||
fix:
|
|
||||||
content:
|
|
||||||
- "\"Helo\\\\\""
|
|
||||||
location:
|
|
||||||
row: 20
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 20
|
|
||||||
column: 29
|
|
||||||
parent: ~
|
|
||||||
- kind:
|
|
||||||
BadStrStripCall:
|
|
||||||
kind: Strip
|
|
||||||
location:
|
|
||||||
row: 23
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 23
|
|
||||||
column: 30
|
|
||||||
fix:
|
|
||||||
content:
|
|
||||||
- "r\"Helo\\\""
|
|
||||||
location:
|
|
||||||
row: 23
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 23
|
|
||||||
column: 30
|
|
||||||
parent: ~
|
|
||||||
- kind:
|
|
||||||
BadStrStripCall:
|
|
||||||
kind: Strip
|
|
||||||
location:
|
|
||||||
row: 26
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 26
|
|
||||||
column: 29
|
|
||||||
fix:
|
|
||||||
content:
|
|
||||||
- "\"🤣🙃👀😀\""
|
|
||||||
location:
|
|
||||||
row: 26
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 26
|
|
||||||
column: 29
|
|
||||||
parent: ~
|
|
||||||
- kind:
|
|
||||||
BadStrStripCall:
|
|
||||||
kind: Strip
|
|
||||||
location:
|
|
||||||
row: 30
|
|
||||||
column: 4
|
|
||||||
end_location:
|
|
||||||
row: 32
|
|
||||||
column: 3
|
|
||||||
fix: ~
|
|
||||||
parent: ~
|
|
||||||
- kind:
|
|
||||||
BadStrStripCall:
|
|
||||||
kind: Strip
|
|
||||||
location:
|
|
||||||
row: 36
|
|
||||||
column: 20
|
|
||||||
end_location:
|
|
||||||
row: 38
|
|
||||||
column: 29
|
|
||||||
fix: ~
|
|
||||||
parent: ~
|
|
||||||
- kind:
|
|
||||||
BadStrStripCall:
|
|
||||||
kind: Strip
|
|
||||||
location:
|
|
||||||
row: 42
|
|
||||||
column: 4
|
|
||||||
end_location:
|
|
||||||
row: 44
|
|
||||||
column: 13
|
|
||||||
fix: ~
|
|
||||||
parent: ~
|
|
||||||
- kind:
|
|
||||||
BadStrStripCall:
|
|
||||||
kind: Strip
|
|
||||||
location:
|
|
||||||
row: 49
|
|
||||||
column: 4
|
|
||||||
end_location:
|
|
||||||
row: 51
|
|
||||||
column: 13
|
|
||||||
fix: ~
|
|
||||||
parent: ~
|
|
||||||
- kind:
|
|
||||||
BadStrStripCall:
|
|
||||||
kind: Strip
|
|
||||||
location:
|
|
||||||
row: 61
|
|
||||||
column: 10
|
|
||||||
end_location:
|
|
||||||
row: 61
|
|
||||||
column: 19
|
|
||||||
fix:
|
|
||||||
content:
|
|
||||||
- "'htp:/'"
|
|
||||||
location:
|
|
||||||
row: 61
|
|
||||||
column: 10
|
|
||||||
end_location:
|
|
||||||
row: 61
|
|
||||||
column: 19
|
|
||||||
parent: ~
|
|
||||||
- kind:
|
|
||||||
BadStrStripCall:
|
|
||||||
kind: LStrip
|
|
||||||
location:
|
|
||||||
row: 64
|
|
||||||
column: 11
|
|
||||||
end_location:
|
|
||||||
row: 64
|
|
||||||
column: 20
|
|
||||||
fix:
|
|
||||||
content:
|
|
||||||
- "'htp:/'"
|
|
||||||
location:
|
|
||||||
row: 64
|
|
||||||
column: 11
|
|
||||||
end_location:
|
|
||||||
row: 64
|
|
||||||
column: 20
|
|
||||||
parent: ~
|
|
||||||
- kind:
|
|
||||||
BadStrStripCall:
|
|
||||||
kind: RStrip
|
|
||||||
location:
|
|
||||||
row: 67
|
|
||||||
column: 11
|
|
||||||
end_location:
|
|
||||||
row: 67
|
|
||||||
column: 20
|
|
||||||
fix:
|
|
||||||
content:
|
|
||||||
- "'htp:/'"
|
|
||||||
location:
|
|
||||||
row: 67
|
|
||||||
column: 11
|
|
||||||
end_location:
|
|
||||||
row: 67
|
|
||||||
column: 20
|
|
||||||
parent: ~
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue