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: ~ -