Compare commits

...

2 Commits

Author SHA1 Message Date
Charlie Marsh
f1d3e3698a Bump version to 0.0.165 2022-12-06 00:03:30 -05:00
Charlie Marsh
080411bc89 Re-create ruff snapshots 2022-12-06 00:03:14 -05:00
12 changed files with 272 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.164
rev: v0.0.165
hooks:
- id: ruff

6
Cargo.lock generated
View File

@@ -724,7 +724,7 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
[[package]]
name = "flake8-to-ruff"
version = "0.0.164-dev.0"
version = "0.0.165-dev.0"
dependencies = [
"anyhow",
"clap 4.0.29",
@@ -1821,7 +1821,7 @@ dependencies = [
[[package]]
name = "ruff"
version = "0.0.164"
version = "0.0.165"
dependencies = [
"annotate-snippets 0.9.1",
"anyhow",
@@ -1874,7 +1874,7 @@ dependencies = [
[[package]]
name = "ruff_dev"
version = "0.0.164"
version = "0.0.165"
dependencies = [
"anyhow",
"clap 4.0.29",

View File

@@ -6,7 +6,7 @@ members = [
[package]
name = "ruff"
version = "0.0.164"
version = "0.0.165"
edition = "2021"
rust-version = "1.65.0"

View File

@@ -145,7 +145,7 @@ Ruff also works with [pre-commit](https://pre-commit.com):
```yaml
repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.164
rev: v0.0.165
hooks:
- id: ruff
```

View File

@@ -771,7 +771,7 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80"
[[package]]
name = "flake8_to_ruff"
version = "0.0.164"
version = "0.0.165"
dependencies = [
"anyhow",
"clap",
@@ -1975,7 +1975,7 @@ dependencies = [
[[package]]
name = "ruff"
version = "0.0.164"
version = "0.0.165"
dependencies = [
"anyhow",
"bincode",

View File

@@ -1,6 +1,6 @@
[package]
name = "flake8-to-ruff"
version = "0.0.164-dev.0"
version = "0.0.165-dev.0"
edition = "2021"
[lib]

View File

@@ -1,6 +1,6 @@
[package]
name = "ruff_dev"
version = "0.0.164"
version = "0.0.165"
edition = "2021"
[dependencies]

View 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

View File

@@ -0,0 +1,6 @@
---
source: src/ruff/mod.rs
expression: checks
---
[]

View File

@@ -0,0 +1,6 @@
---
source: src/ruff/mod.rs
expression: checks
---
[]

View 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

View File

@@ -0,0 +1,6 @@
---
source: src/ruff/mod.rs
expression: checks
---
[]