mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-28 12:54:48 +00:00
Re-create ruff snapshots
This commit is contained in:
parent
f2ad915224
commit
080411bc89
5 changed files with 262 additions and 0 deletions
59
src/ruff/snapshots/ruff__ruff__tests__confusables.snap
Normal file
59
src/ruff/snapshots/ruff__ruff__tests__confusables.snap
Normal file
|
@ -0,0 +1,59 @@
|
|||
---
|
||||
source: src/ruff/mod.rs
|
||||
expression: checks
|
||||
---
|
||||
- kind:
|
||||
AmbiguousUnicodeCharacterString:
|
||||
- 𝐁
|
||||
- B
|
||||
location:
|
||||
row: 1
|
||||
column: 5
|
||||
end_location:
|
||||
row: 1
|
||||
column: 6
|
||||
fix:
|
||||
content: B
|
||||
location:
|
||||
row: 1
|
||||
column: 5
|
||||
end_location:
|
||||
row: 1
|
||||
column: 6
|
||||
- kind:
|
||||
AmbiguousUnicodeCharacterDocstring:
|
||||
- )
|
||||
- )
|
||||
location:
|
||||
row: 6
|
||||
column: 55
|
||||
end_location:
|
||||
row: 6
|
||||
column: 56
|
||||
fix:
|
||||
content: )
|
||||
location:
|
||||
row: 6
|
||||
column: 55
|
||||
end_location:
|
||||
row: 6
|
||||
column: 56
|
||||
- kind:
|
||||
AmbiguousUnicodeCharacterComment:
|
||||
- ᜵
|
||||
- /
|
||||
location:
|
||||
row: 7
|
||||
column: 61
|
||||
end_location:
|
||||
row: 7
|
||||
column: 62
|
||||
fix:
|
||||
content: /
|
||||
location:
|
||||
row: 7
|
||||
column: 61
|
||||
end_location:
|
||||
row: 7
|
||||
column: 62
|
||||
|
6
src/ruff/snapshots/ruff__ruff__tests__flake8_noqa.snap
Normal file
6
src/ruff/snapshots/ruff__ruff__tests__flake8_noqa.snap
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
source: src/ruff/mod.rs
|
||||
expression: checks
|
||||
---
|
||||
[]
|
||||
|
6
src/ruff/snapshots/ruff__ruff__tests__redirects.snap
Normal file
6
src/ruff/snapshots/ruff__ruff__tests__redirects.snap
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
source: src/ruff/mod.rs
|
||||
expression: checks
|
||||
---
|
||||
[]
|
||||
|
185
src/ruff/snapshots/ruff__ruff__tests__ruf100.snap
Normal file
185
src/ruff/snapshots/ruff__ruff__tests__ruf100.snap
Normal file
|
@ -0,0 +1,185 @@
|
|||
---
|
||||
source: src/ruff/mod.rs
|
||||
expression: checks
|
||||
---
|
||||
- kind:
|
||||
UnusedNOQA: ~
|
||||
location:
|
||||
row: 9
|
||||
column: 11
|
||||
end_location:
|
||||
row: 9
|
||||
column: 17
|
||||
fix:
|
||||
content: ""
|
||||
location:
|
||||
row: 9
|
||||
column: 9
|
||||
end_location:
|
||||
row: 9
|
||||
column: 17
|
||||
- kind:
|
||||
UnusedNOQA:
|
||||
- E501
|
||||
location:
|
||||
row: 13
|
||||
column: 11
|
||||
end_location:
|
||||
row: 13
|
||||
column: 23
|
||||
fix:
|
||||
content: ""
|
||||
location:
|
||||
row: 13
|
||||
column: 9
|
||||
end_location:
|
||||
row: 13
|
||||
column: 23
|
||||
- kind:
|
||||
UnusedNOQA:
|
||||
- F841
|
||||
- E501
|
||||
location:
|
||||
row: 16
|
||||
column: 11
|
||||
end_location:
|
||||
row: 16
|
||||
column: 29
|
||||
fix:
|
||||
content: ""
|
||||
location:
|
||||
row: 16
|
||||
column: 9
|
||||
end_location:
|
||||
row: 16
|
||||
column: 29
|
||||
- kind:
|
||||
UnusedNOQA:
|
||||
- F841
|
||||
- W191
|
||||
location:
|
||||
row: 19
|
||||
column: 11
|
||||
end_location:
|
||||
row: 19
|
||||
column: 29
|
||||
fix:
|
||||
content: ""
|
||||
location:
|
||||
row: 19
|
||||
column: 9
|
||||
end_location:
|
||||
row: 19
|
||||
column: 29
|
||||
- kind:
|
||||
UnusedNOQA:
|
||||
- F841
|
||||
- V101
|
||||
location:
|
||||
row: 22
|
||||
column: 11
|
||||
end_location:
|
||||
row: 22
|
||||
column: 29
|
||||
fix:
|
||||
content: ""
|
||||
location:
|
||||
row: 22
|
||||
column: 9
|
||||
end_location:
|
||||
row: 22
|
||||
column: 29
|
||||
- kind:
|
||||
UnusedNOQA:
|
||||
- E501
|
||||
location:
|
||||
row: 26
|
||||
column: 9
|
||||
end_location:
|
||||
row: 26
|
||||
column: 21
|
||||
fix:
|
||||
content: ""
|
||||
location:
|
||||
row: 26
|
||||
column: 9
|
||||
end_location:
|
||||
row: 26
|
||||
column: 21
|
||||
- kind:
|
||||
UnusedVariable: d
|
||||
location:
|
||||
row: 29
|
||||
column: 4
|
||||
end_location:
|
||||
row: 29
|
||||
column: 5
|
||||
fix: ~
|
||||
- kind:
|
||||
UnusedNOQA:
|
||||
- E501
|
||||
location:
|
||||
row: 29
|
||||
column: 32
|
||||
end_location:
|
||||
row: 29
|
||||
column: 44
|
||||
fix:
|
||||
content: ""
|
||||
location:
|
||||
row: 29
|
||||
column: 9
|
||||
end_location:
|
||||
row: 29
|
||||
column: 44
|
||||
- kind:
|
||||
UnusedNOQA:
|
||||
- F841
|
||||
location:
|
||||
row: 55
|
||||
column: 5
|
||||
end_location:
|
||||
row: 55
|
||||
column: 23
|
||||
fix:
|
||||
content: "# noqa: E501"
|
||||
location:
|
||||
row: 55
|
||||
column: 5
|
||||
end_location:
|
||||
row: 55
|
||||
column: 23
|
||||
- kind:
|
||||
UnusedNOQA:
|
||||
- E501
|
||||
location:
|
||||
row: 63
|
||||
column: 5
|
||||
end_location:
|
||||
row: 63
|
||||
column: 17
|
||||
fix:
|
||||
content: ""
|
||||
location:
|
||||
row: 63
|
||||
column: 3
|
||||
end_location:
|
||||
row: 63
|
||||
column: 17
|
||||
- kind:
|
||||
UnusedNOQA: ~
|
||||
location:
|
||||
row: 71
|
||||
column: 5
|
||||
end_location:
|
||||
row: 71
|
||||
column: 11
|
||||
fix:
|
||||
content: ""
|
||||
location:
|
||||
row: 71
|
||||
column: 3
|
||||
end_location:
|
||||
row: 71
|
||||
column: 11
|
||||
|
6
src/ruff/snapshots/ruff__ruff__tests__ruff_noqa.snap
Normal file
6
src/ruff/snapshots/ruff__ruff__tests__ruff_noqa.snap
Normal file
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
source: src/ruff/mod.rs
|
||||
expression: checks
|
||||
---
|
||||
[]
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue