From 6a95dade6dbbd34f635b41358b72a32f54f5c89f Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Fri, 16 Dec 2022 14:36:00 -0500 Subject: [PATCH] Actually check-in snapshots for #1265 --- ..._annotations__tests__mypy_init_return.snap | 22 +++++++-- ...otations__tests__mypy_init_return.snap.new | 47 ------------------- 2 files changed, 18 insertions(+), 51 deletions(-) delete mode 100644 src/flake8_annotations/snapshots/ruff__flake8_annotations__tests__mypy_init_return.snap.new diff --git a/src/flake8_annotations/snapshots/ruff__flake8_annotations__tests__mypy_init_return.snap b/src/flake8_annotations/snapshots/ruff__flake8_annotations__tests__mypy_init_return.snap index 24db6ac6b8..da4eb5e8d6 100644 --- a/src/flake8_annotations/snapshots/ruff__flake8_annotations__tests__mypy_init_return.snap +++ b/src/flake8_annotations/snapshots/ruff__flake8_annotations__tests__mypy_init_return.snap @@ -3,23 +3,37 @@ source: src/flake8_annotations/mod.rs expression: checks --- - kind: - MissingReturnTypeMagicMethod: __init__ + MissingReturnTypeSpecialMethod: __init__ location: row: 5 column: 4 end_location: row: 6 column: 11 - fix: ~ + fix: + content: " -> None" + location: + row: 5 + column: 22 + end_location: + row: 5 + column: 22 - kind: - MissingReturnTypeMagicMethod: __init__ + MissingReturnTypeSpecialMethod: __init__ location: row: 11 column: 4 end_location: row: 12 column: 11 - fix: ~ + fix: + content: " -> None" + location: + row: 11 + column: 27 + end_location: + row: 11 + column: 27 - kind: MissingReturnTypePrivateFunction: __init__ location: diff --git a/src/flake8_annotations/snapshots/ruff__flake8_annotations__tests__mypy_init_return.snap.new b/src/flake8_annotations/snapshots/ruff__flake8_annotations__tests__mypy_init_return.snap.new deleted file mode 100644 index 32c72f9d02..0000000000 --- a/src/flake8_annotations/snapshots/ruff__flake8_annotations__tests__mypy_init_return.snap.new +++ /dev/null @@ -1,47 +0,0 @@ ---- -source: src/flake8_annotations/mod.rs -assertion_line: 87 -expression: checks ---- -- kind: - MissingReturnTypeSpecialMethod: __init__ - location: - row: 5 - column: 4 - end_location: - row: 6 - column: 11 - fix: - content: " -> None" - location: - row: 5 - column: 22 - end_location: - row: 5 - column: 22 -- kind: - MissingReturnTypeSpecialMethod: __init__ - location: - row: 11 - column: 4 - end_location: - row: 12 - column: 11 - fix: - content: " -> None" - location: - row: 11 - column: 27 - end_location: - row: 11 - column: 27 -- kind: - MissingReturnTypePrivateFunction: __init__ - location: - row: 40 - column: 0 - end_location: - row: 41 - column: 7 - fix: ~ -