diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 32e5820d29..6e198bf259 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -117,7 +117,17 @@ jobs: ${{ runner.os }}-build- ${{ runner.os }}- - run: pip install black[d]==22.12.0 - - run: cargo test --all + - name: Run tests + run: | + export INSTA_SNAPSHOT_REFERENCES_FILE="$(mktemp)" + cargo test --all + USED_SNAPSHOTS=$(cat $INSTA_SNAPSHOT_REFERENCES_FILE | xargs realpath --relative-to $PWD) + UNUSED_SNAPSHOTS=$(cat <(git ls-files '*.snap') <(echo "$USED_SNAPSHOTS") | sort | uniq -u) + if [ ! -z "$UNUSED_SNAPSHOTS" ]; then + echo "Found unused snapshots:" + echo "$UNUSED_SNAPSHOTS" + exit 1 + fi - run: cargo test --package ruff --test black_compatibility_test -- --ignored # TODO(charlie): Re-enable the `wasm-pack` tests. diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_doubles.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_doubles.py.snap deleted file mode 100644 index ba83a95a75..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_doubles.py.snap +++ /dev/null @@ -1,50 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesMultilineString: single - location: - row: 5 - column: 0 - end_location: - row: 7 - column: 3 - fix: ~ -- kind: - BadQuotesMultilineString: single - location: - row: 16 - column: 4 - end_location: - row: 18 - column: 7 - fix: ~ -- kind: - BadQuotesMultilineString: single - location: - row: 21 - column: 20 - end_location: - row: 22 - column: 37 - fix: ~ -- kind: - BadQuotesMultilineString: single - location: - row: 30 - column: 8 - end_location: - row: 32 - column: 11 - fix: ~ -- kind: - BadQuotesMultilineString: single - location: - row: 35 - column: 12 - end_location: - row: 37 - column: 15 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_doubles_class.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_doubles_class.py.snap deleted file mode 100644 index 99e6e19c2a..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_doubles_class.py.snap +++ /dev/null @@ -1,23 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesMultilineString: single - location: - row: 3 - column: 4 - end_location: - row: 3 - column: 27 - fix: ~ -- kind: - BadQuotesMultilineString: single - location: - row: 5 - column: 22 - end_location: - row: 5 - column: 43 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_doubles_function.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_doubles_function.py.snap deleted file mode 100644 index 1c228c035b..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_doubles_function.py.snap +++ /dev/null @@ -1,50 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesMultilineString: single - location: - row: 3 - column: 4 - end_location: - row: 3 - column: 26 - fix: ~ -- kind: - BadQuotesMultilineString: single - location: - row: 11 - column: 4 - end_location: - row: 11 - column: 26 - fix: ~ -- kind: - BadQuotesMultilineString: single - location: - row: 15 - column: 38 - end_location: - row: 17 - column: 3 - fix: ~ -- kind: - BadQuotesMultilineString: single - location: - row: 17 - column: 4 - end_location: - row: 17 - column: 19 - fix: ~ -- kind: - BadQuotesMultilineString: single - location: - row: 21 - column: 4 - end_location: - row: 21 - column: 27 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_doubles_module_multiline.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_doubles_module_multiline.py.snap deleted file mode 100644 index b4edd8f38c..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_doubles_module_multiline.py.snap +++ /dev/null @@ -1,23 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesMultilineString: single - location: - row: 4 - column: 0 - end_location: - row: 6 - column: 3 - fix: ~ -- kind: - BadQuotesMultilineString: single - location: - row: 9 - column: 0 - end_location: - row: 11 - column: 3 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_doubles_module_singleline.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_doubles_module_singleline.py.snap deleted file mode 100644 index f9c3630c9f..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_doubles_module_singleline.py.snap +++ /dev/null @@ -1,23 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesMultilineString: single - location: - row: 2 - column: 0 - end_location: - row: 2 - column: 31 - fix: ~ -- kind: - BadQuotesMultilineString: single - location: - row: 6 - column: 0 - end_location: - row: 6 - column: 31 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_singles.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_singles.py.snap deleted file mode 100644 index ae3ff105ff..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_singles.py.snap +++ /dev/null @@ -1,32 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesDocstring: double - location: - row: 1 - column: 0 - end_location: - row: 3 - column: 3 - fix: ~ -- kind: - BadQuotesDocstring: double - location: - row: 14 - column: 4 - end_location: - row: 16 - column: 7 - fix: ~ -- kind: - BadQuotesDocstring: double - location: - row: 26 - column: 8 - end_location: - row: 28 - column: 11 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_singles_class.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_singles_class.py.snap deleted file mode 100644 index 0c5d2f45ff..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_singles_class.py.snap +++ /dev/null @@ -1,32 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesDocstring: double - location: - row: 2 - column: 4 - end_location: - row: 2 - column: 53 - fix: ~ -- kind: - BadQuotesDocstring: double - location: - row: 6 - column: 8 - end_location: - row: 6 - column: 57 - fix: ~ -- kind: - BadQuotesDocstring: double - location: - row: 9 - column: 28 - end_location: - row: 9 - column: 52 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_singles_function.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_singles_function.py.snap deleted file mode 100644 index 0eb301189f..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_singles_function.py.snap +++ /dev/null @@ -1,23 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesDocstring: double - location: - row: 2 - column: 4 - end_location: - row: 2 - column: 56 - fix: ~ -- kind: - BadQuotesDocstring: double - location: - row: 8 - column: 4 - end_location: - row: 10 - column: 7 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_singles_module_multiline.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_singles_module_multiline.py.snap deleted file mode 100644 index fa1f6d06a0..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_singles_module_multiline.py.snap +++ /dev/null @@ -1,14 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesDocstring: double - location: - row: 1 - column: 0 - end_location: - row: 3 - column: 3 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_singles_module_singleline.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_singles_module_singleline.py.snap deleted file mode 100644 index 9981a24ddf..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__double_docstring_docstring_singles_module_singleline.py.snap +++ /dev/null @@ -1,14 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesDocstring: double - location: - row: 1 - column: 0 - end_location: - row: 1 - column: 49 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__doubles_doubles.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__doubles_doubles.py.snap deleted file mode 100644 index 2048162249..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__doubles_doubles.py.snap +++ /dev/null @@ -1,23 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesInlineString: single - location: - row: 1 - column: 24 - end_location: - row: 1 - column: 45 - fix: ~ -- kind: - BadQuotesInlineString: single - location: - row: 2 - column: 24 - end_location: - row: 2 - column: 46 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__doubles_doubles_escaped.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__doubles_doubles_escaped.py.snap deleted file mode 100644 index c0ab5a6957..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__doubles_doubles_escaped.py.snap +++ /dev/null @@ -1,13 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: AvoidQuoteEscape - location: - row: 1 - column: 25 - end_location: - row: 1 - column: 47 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__doubles_doubles_multiline_string.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__doubles_doubles_multiline_string.py.snap deleted file mode 100644 index 5648425caa..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__doubles_doubles_multiline_string.py.snap +++ /dev/null @@ -1,14 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesMultilineString: single - location: - row: 1 - column: 4 - end_location: - row: 3 - column: 12 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__doubles_doubles_noqa.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__doubles_doubles_noqa.py.snap deleted file mode 100644 index 5037171f0b..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__doubles_doubles_noqa.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -[] - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__doubles_doubles_wrapped.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__doubles_doubles_wrapped.py.snap deleted file mode 100644 index 5037171f0b..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__doubles_doubles_wrapped.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -[] - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_doubles.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_doubles.py.snap deleted file mode 100644 index 3703d1c6a8..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_doubles.py.snap +++ /dev/null @@ -1,32 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesDocstring: single - location: - row: 1 - column: 0 - end_location: - row: 3 - column: 3 - fix: ~ -- kind: - BadQuotesDocstring: single - location: - row: 12 - column: 4 - end_location: - row: 14 - column: 7 - fix: ~ -- kind: - BadQuotesDocstring: single - location: - row: 24 - column: 8 - end_location: - row: 26 - column: 11 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_doubles_class.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_doubles_class.py.snap deleted file mode 100644 index b774fda35f..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_doubles_class.py.snap +++ /dev/null @@ -1,32 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesDocstring: single - location: - row: 2 - column: 4 - end_location: - row: 2 - column: 53 - fix: ~ -- kind: - BadQuotesDocstring: single - location: - row: 6 - column: 8 - end_location: - row: 6 - column: 57 - fix: ~ -- kind: - BadQuotesDocstring: single - location: - row: 9 - column: 28 - end_location: - row: 9 - column: 52 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_doubles_function.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_doubles_function.py.snap deleted file mode 100644 index ff22cab82b..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_doubles_function.py.snap +++ /dev/null @@ -1,23 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesDocstring: single - location: - row: 2 - column: 4 - end_location: - row: 2 - column: 56 - fix: ~ -- kind: - BadQuotesDocstring: single - location: - row: 8 - column: 4 - end_location: - row: 10 - column: 7 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_doubles_module_multiline.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_doubles_module_multiline.py.snap deleted file mode 100644 index 0118fd07eb..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_doubles_module_multiline.py.snap +++ /dev/null @@ -1,14 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesDocstring: single - location: - row: 1 - column: 0 - end_location: - row: 3 - column: 3 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_doubles_module_singleline.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_doubles_module_singleline.py.snap deleted file mode 100644 index 579c68ef8f..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_doubles_module_singleline.py.snap +++ /dev/null @@ -1,14 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesDocstring: single - location: - row: 1 - column: 0 - end_location: - row: 1 - column: 49 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_singles.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_singles.py.snap deleted file mode 100644 index 1f4baea993..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_singles.py.snap +++ /dev/null @@ -1,59 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesMultilineString: double - location: - row: 5 - column: 0 - end_location: - row: 7 - column: 3 - fix: ~ -- kind: - BadQuotesMultilineString: double - location: - row: 11 - column: 20 - end_location: - row: 13 - column: 3 - fix: ~ -- kind: - BadQuotesMultilineString: double - location: - row: 18 - column: 4 - end_location: - row: 20 - column: 7 - fix: ~ -- kind: - BadQuotesMultilineString: double - location: - row: 23 - column: 20 - end_location: - row: 24 - column: 37 - fix: ~ -- kind: - BadQuotesMultilineString: double - location: - row: 32 - column: 8 - end_location: - row: 34 - column: 11 - fix: ~ -- kind: - BadQuotesMultilineString: double - location: - row: 37 - column: 12 - end_location: - row: 39 - column: 15 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_singles_class.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_singles_class.py.snap deleted file mode 100644 index 4f88980a84..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_singles_class.py.snap +++ /dev/null @@ -1,23 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesMultilineString: double - location: - row: 3 - column: 4 - end_location: - row: 3 - column: 27 - fix: ~ -- kind: - BadQuotesMultilineString: double - location: - row: 5 - column: 22 - end_location: - row: 5 - column: 43 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_singles_function.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_singles_function.py.snap deleted file mode 100644 index ab3077b70c..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_singles_function.py.snap +++ /dev/null @@ -1,50 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesMultilineString: double - location: - row: 3 - column: 4 - end_location: - row: 3 - column: 26 - fix: ~ -- kind: - BadQuotesMultilineString: double - location: - row: 11 - column: 4 - end_location: - row: 11 - column: 26 - fix: ~ -- kind: - BadQuotesMultilineString: double - location: - row: 15 - column: 38 - end_location: - row: 17 - column: 3 - fix: ~ -- kind: - BadQuotesMultilineString: double - location: - row: 17 - column: 4 - end_location: - row: 17 - column: 19 - fix: ~ -- kind: - BadQuotesMultilineString: double - location: - row: 21 - column: 4 - end_location: - row: 21 - column: 27 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_singles_module_multiline.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_singles_module_multiline.py.snap deleted file mode 100644 index 19f8dd4dbe..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_singles_module_multiline.py.snap +++ /dev/null @@ -1,23 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesMultilineString: double - location: - row: 4 - column: 0 - end_location: - row: 6 - column: 3 - fix: ~ -- kind: - BadQuotesMultilineString: double - location: - row: 9 - column: 0 - end_location: - row: 11 - column: 3 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_singles_module_singleline.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_singles_module_singleline.py.snap deleted file mode 100644 index e1ad66b13e..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__single_docstring_docstring_singles_module_singleline.py.snap +++ /dev/null @@ -1,23 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesMultilineString: double - location: - row: 2 - column: 0 - end_location: - row: 2 - column: 31 - fix: ~ -- kind: - BadQuotesMultilineString: double - location: - row: 6 - column: 0 - end_location: - row: 6 - column: 31 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__singles_singles.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__singles_singles.py.snap deleted file mode 100644 index 9f006d7ddc..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__singles_singles.py.snap +++ /dev/null @@ -1,23 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesInlineString: double - location: - row: 1 - column: 24 - end_location: - row: 1 - column: 45 - fix: ~ -- kind: - BadQuotesInlineString: double - location: - row: 2 - column: 24 - end_location: - row: 2 - column: 46 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__singles_singles_escaped.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__singles_singles_escaped.py.snap deleted file mode 100644 index c0ab5a6957..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__singles_singles_escaped.py.snap +++ /dev/null @@ -1,13 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: AvoidQuoteEscape - location: - row: 1 - column: 25 - end_location: - row: 1 - column: 47 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__singles_singles_multiline_string.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__singles_singles_multiline_string.py.snap deleted file mode 100644 index 4d481c0b2c..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__singles_singles_multiline_string.py.snap +++ /dev/null @@ -1,14 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -- kind: - BadQuotesMultilineString: double - location: - row: 1 - column: 4 - end_location: - row: 3 - column: 12 - fix: ~ - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__singles_singles_noqa.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__singles_singles_noqa.py.snap deleted file mode 100644 index 5037171f0b..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__singles_singles_noqa.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -[] - diff --git a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__singles_singles_wrapped.py.snap b/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__singles_singles_wrapped.py.snap deleted file mode 100644 index 5037171f0b..0000000000 --- a/src/flake8_quotes/snapshots/ruff__flake8_quotes__checks__tests__singles_singles_wrapped.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/flake8_quotes/checks.rs -expression: checks ---- -[] - diff --git a/src/pyflakes/snapshots/ruff__pyflakes__tests__F831_F831.py.snap b/src/pyflakes/snapshots/ruff__pyflakes__tests__F831_F831.py.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/pyflakes/snapshots/ruff__pyflakes__tests__F831_F831.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/ruff/snapshots/ruff__rules__tests__confusables.snap b/src/ruff/snapshots/ruff__rules__tests__confusables.snap deleted file mode 100644 index 1fd5dad110..0000000000 --- a/src/ruff/snapshots/ruff__rules__tests__confusables.snap +++ /dev/null @@ -1,59 +0,0 @@ ---- -source: src/rules/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__rules__tests__flake8_noqa.snap b/src/ruff/snapshots/ruff__rules__tests__flake8_noqa.snap deleted file mode 100644 index 2d70f06548..0000000000 --- a/src/ruff/snapshots/ruff__rules__tests__flake8_noqa.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/rules/mod.rs -expression: checks ---- -[] - diff --git a/src/ruff/snapshots/ruff__rules__tests__redirects.snap b/src/ruff/snapshots/ruff__rules__tests__redirects.snap deleted file mode 100644 index 2d70f06548..0000000000 --- a/src/ruff/snapshots/ruff__rules__tests__redirects.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/rules/mod.rs -expression: checks ---- -[] - diff --git a/src/ruff/snapshots/ruff__rules__tests__ruf100.snap b/src/ruff/snapshots/ruff__rules__tests__ruf100.snap deleted file mode 100644 index eafcd7f320..0000000000 --- a/src/ruff/snapshots/ruff__rules__tests__ruf100.snap +++ /dev/null @@ -1,185 +0,0 @@ ---- -source: src/rules/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__rules__tests__ruff_noqa.snap b/src/ruff/snapshots/ruff__rules__tests__ruff_noqa.snap deleted file mode 100644 index 2d70f06548..0000000000 --- a/src/ruff/snapshots/ruff__rules__tests__ruff_noqa.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/rules/mod.rs -expression: checks ---- -[] -