diff --git a/src/ruff/snapshots/ruff__ruff__tests__confusables.snap b/src/ruff/snapshots/ruff__ruff__tests__confusables.snap new file mode 100644 index 0000000000..29aed22a68 --- /dev/null +++ b/src/ruff/snapshots/ruff__ruff__tests__confusables.snap @@ -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 + diff --git a/src/ruff/snapshots/ruff__ruff__tests__flake8_noqa.snap b/src/ruff/snapshots/ruff__ruff__tests__flake8_noqa.snap new file mode 100644 index 0000000000..59c3408a31 --- /dev/null +++ b/src/ruff/snapshots/ruff__ruff__tests__flake8_noqa.snap @@ -0,0 +1,6 @@ +--- +source: src/ruff/mod.rs +expression: checks +--- +[] + diff --git a/src/ruff/snapshots/ruff__ruff__tests__redirects.snap b/src/ruff/snapshots/ruff__ruff__tests__redirects.snap new file mode 100644 index 0000000000..59c3408a31 --- /dev/null +++ b/src/ruff/snapshots/ruff__ruff__tests__redirects.snap @@ -0,0 +1,6 @@ +--- +source: src/ruff/mod.rs +expression: checks +--- +[] + diff --git a/src/ruff/snapshots/ruff__ruff__tests__ruf100.snap b/src/ruff/snapshots/ruff__ruff__tests__ruf100.snap new file mode 100644 index 0000000000..47acd40ed0 --- /dev/null +++ b/src/ruff/snapshots/ruff__ruff__tests__ruf100.snap @@ -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 + diff --git a/src/ruff/snapshots/ruff__ruff__tests__ruff_noqa.snap b/src/ruff/snapshots/ruff__ruff__tests__ruff_noqa.snap new file mode 100644 index 0000000000..59c3408a31 --- /dev/null +++ b/src/ruff/snapshots/ruff__ruff__tests__ruff_noqa.snap @@ -0,0 +1,6 @@ +--- +source: src/ruff/mod.rs +expression: checks +--- +[] +