diff --git a/src/rules/eradicate/snapshots/ruff__eradicate__tests__ERA001_ERA001.py.snap b/src/rules/eradicate/snapshots/ruff__rules__eradicate__tests__ERA001_ERA001.py.snap similarity index 95% rename from src/rules/eradicate/snapshots/ruff__eradicate__tests__ERA001_ERA001.py.snap rename to src/rules/eradicate/snapshots/ruff__rules__eradicate__tests__ERA001_ERA001.py.snap index e248cbb699..780c9a998f 100644 --- a/src/rules/eradicate/snapshots/ruff__eradicate__tests__ERA001_ERA001.py.snap +++ b/src/rules/eradicate/snapshots/ruff__rules__eradicate__tests__ERA001_ERA001.py.snap @@ -1,6 +1,6 @@ --- -source: src/eradicate/mod.rs -expression: checks +source: src/rules/eradicate/mod.rs +expression: diagnostics --- - kind: CommentedOutCode: ~ diff --git a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT101_YTT101.py.snap b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT101_YTT101.py.snap similarity index 87% rename from src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT101_YTT101.py.snap rename to src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT101_YTT101.py.snap index d0bbbe6260..69b345f3be 100644 --- a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT101_YTT101.py.snap +++ b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT101_YTT101.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_2020/mod.rs -expression: checks +source: src/rules/flake8_2020/mod.rs +expression: diagnostics --- - kind: SysVersionSlice3Referenced: ~ diff --git a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT102_YTT102.py.snap b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT102_YTT102.py.snap similarity index 82% rename from src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT102_YTT102.py.snap rename to src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT102_YTT102.py.snap index 95154733f4..36e5435a50 100644 --- a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT102_YTT102.py.snap +++ b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT102_YTT102.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_2020/mod.rs -expression: checks +source: src/rules/flake8_2020/mod.rs +expression: diagnostics --- - kind: SysVersion2Referenced: ~ diff --git a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT103_YTT103.py.snap b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT103_YTT103.py.snap similarity index 91% rename from src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT103_YTT103.py.snap rename to src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT103_YTT103.py.snap index 33f8316362..73e247a950 100644 --- a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT103_YTT103.py.snap +++ b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT103_YTT103.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_2020/mod.rs -expression: checks +source: src/rules/flake8_2020/mod.rs +expression: diagnostics --- - kind: SysVersionCmpStr3: ~ diff --git a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT201_YTT201.py.snap b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT201_YTT201.py.snap similarity index 90% rename from src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT201_YTT201.py.snap rename to src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT201_YTT201.py.snap index 914a98438b..6149f9585c 100644 --- a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT201_YTT201.py.snap +++ b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT201_YTT201.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_2020/mod.rs -expression: checks +source: src/rules/flake8_2020/mod.rs +expression: diagnostics --- - kind: SysVersionInfo0Eq3Referenced: ~ diff --git a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT202_YTT202.py.snap b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT202_YTT202.py.snap similarity index 81% rename from src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT202_YTT202.py.snap rename to src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT202_YTT202.py.snap index 92f02b2706..46bf6cdfdd 100644 --- a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT202_YTT202.py.snap +++ b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT202_YTT202.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_2020/mod.rs -expression: checks +source: src/rules/flake8_2020/mod.rs +expression: diagnostics --- - kind: SixPY3Referenced: ~ diff --git a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT203_YTT203.py.snap b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT203_YTT203.py.snap similarity index 82% rename from src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT203_YTT203.py.snap rename to src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT203_YTT203.py.snap index 2923a2f476..51ffa966c9 100644 --- a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT203_YTT203.py.snap +++ b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT203_YTT203.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_2020/mod.rs -expression: checks +source: src/rules/flake8_2020/mod.rs +expression: diagnostics --- - kind: SysVersionInfo1CmpInt: ~ diff --git a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT204_YTT204.py.snap b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT204_YTT204.py.snap similarity index 82% rename from src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT204_YTT204.py.snap rename to src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT204_YTT204.py.snap index 9454114a11..3935df9d53 100644 --- a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT204_YTT204.py.snap +++ b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT204_YTT204.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_2020/mod.rs -expression: checks +source: src/rules/flake8_2020/mod.rs +expression: diagnostics --- - kind: SysVersionInfoMinorCmpInt: ~ diff --git a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT301_YTT301.py.snap b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT301_YTT301.py.snap similarity index 82% rename from src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT301_YTT301.py.snap rename to src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT301_YTT301.py.snap index 62ea740159..aeac254f7c 100644 --- a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT301_YTT301.py.snap +++ b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT301_YTT301.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_2020/mod.rs -expression: checks +source: src/rules/flake8_2020/mod.rs +expression: diagnostics --- - kind: SysVersion0Referenced: ~ diff --git a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT302_YTT302.py.snap b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT302_YTT302.py.snap similarity index 91% rename from src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT302_YTT302.py.snap rename to src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT302_YTT302.py.snap index c969663a06..6084621298 100644 --- a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT302_YTT302.py.snap +++ b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT302_YTT302.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_2020/mod.rs -expression: checks +source: src/rules/flake8_2020/mod.rs +expression: diagnostics --- - kind: SysVersionCmpStr10: ~ diff --git a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT303_YTT303.py.snap b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT303_YTT303.py.snap similarity index 82% rename from src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT303_YTT303.py.snap rename to src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT303_YTT303.py.snap index 29553b8758..c40c6116dd 100644 --- a/src/rules/flake8_2020/snapshots/ruff__flake8_2020__tests__YTT303_YTT303.py.snap +++ b/src/rules/flake8_2020/snapshots/ruff__rules__flake8_2020__tests__YTT303_YTT303.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_2020/mod.rs -expression: checks +source: src/rules/flake8_2020/mod.rs +expression: diagnostics --- - kind: SysVersionSlice1Referenced: ~ diff --git a/src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__allow_nested_overload.snap b/src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__allow_nested_overload.snap deleted file mode 100644 index d52cf629b5..0000000000 --- a/src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__allow_nested_overload.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/flake8_annotations/mod.rs -expression: diagnostics ---- -[] - diff --git a/src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__suppress_dummy_args.snap b/src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__suppress_dummy_args.snap deleted file mode 100644 index dd8109cab0..0000000000 --- a/src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__suppress_dummy_args.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/flake8_annotations/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__allow_nested_overload.snap b/src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__allow_nested_overload.snap new file mode 100644 index 0000000000..7bffa896b4 --- /dev/null +++ b/src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__allow_nested_overload.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/flake8_annotations/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__allow_overload.snap b/src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__allow_overload.snap similarity index 70% rename from src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__allow_overload.snap rename to src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__allow_overload.snap index 9b4b94f20b..78821f5c67 100644 --- a/src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__allow_overload.snap +++ b/src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__allow_overload.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_annotations/mod.rs -expression: checks +source: src/rules/flake8_annotations/mod.rs +expression: diagnostics --- - kind: MissingReturnTypePublicFunction: bar diff --git a/src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__allow_star_arg_any.snap b/src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__allow_star_arg_any.snap similarity index 89% rename from src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__allow_star_arg_any.snap rename to src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__allow_star_arg_any.snap index 0c47b9657e..6601995f1b 100644 --- a/src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__allow_star_arg_any.snap +++ b/src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__allow_star_arg_any.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_annotations/mod.rs -expression: checks +source: src/rules/flake8_annotations/mod.rs +expression: diagnostics --- - kind: DynamicallyTypedExpression: a diff --git a/src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__defaults.snap b/src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__defaults.snap similarity index 97% rename from src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__defaults.snap rename to src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__defaults.snap index 7dd3215d38..6696c9d881 100644 --- a/src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__defaults.snap +++ b/src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__defaults.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_annotations/mod.rs -expression: checks +source: src/rules/flake8_annotations/mod.rs +expression: diagnostics --- - kind: MissingReturnTypePublicFunction: foo diff --git a/src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__mypy_init_return.snap b/src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__mypy_init_return.snap similarity index 91% rename from src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__mypy_init_return.snap rename to src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__mypy_init_return.snap index 172c57756b..3a2f2f3910 100644 --- a/src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__mypy_init_return.snap +++ b/src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__mypy_init_return.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_annotations/mod.rs -expression: checks +source: src/rules/flake8_annotations/mod.rs +expression: diagnostics --- - kind: MissingReturnTypeSpecialMethod: __init__ diff --git a/src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__suppress_dummy_args.snap b/src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__suppress_dummy_args.snap new file mode 100644 index 0000000000..7bffa896b4 --- /dev/null +++ b/src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__suppress_dummy_args.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/flake8_annotations/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__suppress_none_returning.snap b/src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__suppress_none_returning.snap similarity index 81% rename from src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__suppress_none_returning.snap rename to src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__suppress_none_returning.snap index 9328b7c351..fd84d884b6 100644 --- a/src/rules/flake8_annotations/snapshots/ruff__flake8_annotations__tests__suppress_none_returning.snap +++ b/src/rules/flake8_annotations/snapshots/ruff__rules__flake8_annotations__tests__suppress_none_returning.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_annotations/mod.rs -expression: checks +source: src/rules/flake8_annotations/mod.rs +expression: diagnostics --- - kind: MissingReturnTypePublicFunction: foo diff --git a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S101_S101.py.snap b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S101_S101.py.snap similarity index 86% rename from src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S101_S101.py.snap rename to src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S101_S101.py.snap index 051679a50e..e941d9b7e1 100644 --- a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S101_S101.py.snap +++ b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S101_S101.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bandit/mod.rs -expression: checks +source: src/rules/flake8_bandit/mod.rs +expression: diagnostics --- - kind: AssertUsed: ~ diff --git a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S102_S102.py.snap b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S102_S102.py.snap similarity index 80% rename from src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S102_S102.py.snap rename to src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S102_S102.py.snap index fa644e15d1..8f743f0a5a 100644 --- a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S102_S102.py.snap +++ b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S102_S102.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bandit/mod.rs -expression: checks +source: src/rules/flake8_bandit/mod.rs +expression: diagnostics --- - kind: ExecUsed: ~ diff --git a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S103_S103.py.snap b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S103_S103.py.snap similarity index 96% rename from src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S103_S103.py.snap rename to src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S103_S103.py.snap index 5f9f3a85bd..16a96ee702 100644 --- a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S103_S103.py.snap +++ b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S103_S103.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bandit/mod.rs -expression: checks +source: src/rules/flake8_bandit/mod.rs +expression: diagnostics --- - kind: BadFilePermissions: 151 diff --git a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S104_S104.py.snap b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S104_S104.py.snap similarity index 90% rename from src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S104_S104.py.snap rename to src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S104_S104.py.snap index 0891f38bc8..1be1484be9 100644 --- a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S104_S104.py.snap +++ b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S104_S104.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bandit/mod.rs -expression: checks +source: src/rules/flake8_bandit/mod.rs +expression: diagnostics --- - kind: HardcodedBindAllInterfaces: ~ diff --git a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S105_S105.py.snap b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S105_S105.py.snap similarity index 98% rename from src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S105_S105.py.snap rename to src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S105_S105.py.snap index acae86512e..939fbd3dda 100644 --- a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S105_S105.py.snap +++ b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S105_S105.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bandit/mod.rs -expression: checks +source: src/rules/flake8_bandit/mod.rs +expression: diagnostics --- - kind: HardcodedPasswordString: s3cr3t diff --git a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S106_S106.py.snap b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S106_S106.py.snap similarity index 71% rename from src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S106_S106.py.snap rename to src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S106_S106.py.snap index 2ba616af40..9895306ff2 100644 --- a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S106_S106.py.snap +++ b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S106_S106.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bandit/mod.rs -expression: checks +source: src/rules/flake8_bandit/mod.rs +expression: diagnostics --- - kind: HardcodedPasswordFuncArg: s3cr3t diff --git a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S107_S107.py.snap b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S107_S107.py.snap similarity index 92% rename from src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S107_S107.py.snap rename to src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S107_S107.py.snap index 6f37bfa77b..44e6fb3206 100644 --- a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S107_S107.py.snap +++ b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S107_S107.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bandit/mod.rs -expression: checks +source: src/rules/flake8_bandit/mod.rs +expression: diagnostics --- - kind: HardcodedPasswordDefault: default diff --git a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S108_S108.py.snap b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S108_S108.py.snap similarity index 87% rename from src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S108_S108.py.snap rename to src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S108_S108.py.snap index cfd8f1c96e..38dad624c2 100644 --- a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S108_S108.py.snap +++ b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S108_S108.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bandit/mod.rs -expression: checks +source: src/rules/flake8_bandit/mod.rs +expression: diagnostics --- - kind: HardcodedTempFile: /tmp/abc diff --git a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S108_extend.snap b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S108_extend.snap similarity index 90% rename from src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S108_extend.snap rename to src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S108_extend.snap index 5d8bd2338b..5b86083c83 100644 --- a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S108_extend.snap +++ b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S108_extend.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bandit/mod.rs -expression: checks +source: src/rules/flake8_bandit/mod.rs +expression: diagnostics --- - kind: HardcodedTempFile: /tmp/abc diff --git a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S113_S113.py.snap b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S113_S113.py.snap similarity index 96% rename from src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S113_S113.py.snap rename to src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S113_S113.py.snap index 76c591c2df..fb438104ec 100644 --- a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S113_S113.py.snap +++ b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S113_S113.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bandit/mod.rs -expression: checks +source: src/rules/flake8_bandit/mod.rs +expression: diagnostics --- - kind: RequestWithoutTimeout: ~ diff --git a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S324_S324.py.snap b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S324_S324.py.snap similarity index 96% rename from src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S324_S324.py.snap rename to src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S324_S324.py.snap index 913c3486c6..b3862df96d 100644 --- a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S324_S324.py.snap +++ b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S324_S324.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bandit/mod.rs -expression: checks +source: src/rules/flake8_bandit/mod.rs +expression: diagnostics --- - kind: HashlibInsecureHashFunction: md5 diff --git a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S501_S501.py.snap b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S501_S501.py.snap similarity index 97% rename from src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S501_S501.py.snap rename to src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S501_S501.py.snap index 5621a5e799..9a8581c7e8 100644 --- a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S501_S501.py.snap +++ b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S501_S501.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bandit/mod.rs -expression: checks +source: src/rules/flake8_bandit/mod.rs +expression: diagnostics --- - kind: RequestWithNoCertValidation: requests diff --git a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S506_S506.py.snap b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S506_S506.py.snap similarity index 81% rename from src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S506_S506.py.snap rename to src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S506_S506.py.snap index 386f5346b5..2efed1f1c0 100644 --- a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S506_S506.py.snap +++ b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S506_S506.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bandit/mod.rs -expression: checks +source: src/rules/flake8_bandit/mod.rs +expression: diagnostics --- - kind: UnsafeYAMLLoad: ~ diff --git a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S508_S508.py.snap b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S508_S508.py.snap similarity index 88% rename from src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S508_S508.py.snap rename to src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S508_S508.py.snap index c4bf66e465..18e0619a18 100644 --- a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S508_S508.py.snap +++ b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S508_S508.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_bandit/mod.rs +source: src/rules/flake8_bandit/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S509_S509.py.snap b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S509_S509.py.snap similarity index 88% rename from src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S509_S509.py.snap rename to src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S509_S509.py.snap index ece90d6754..213a8ebb7d 100644 --- a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S509_S509.py.snap +++ b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S509_S509.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_bandit/mod.rs +source: src/rules/flake8_bandit/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S701_S701.py.snap b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S701_S701.py.snap similarity index 95% rename from src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S701_S701.py.snap rename to src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S701_S701.py.snap index ff90a37d1a..6b88319e39 100644 --- a/src/rules/flake8_bandit/snapshots/ruff__flake8_bandit__tests__S701_S701.py.snap +++ b/src/rules/flake8_bandit/snapshots/ruff__rules__flake8_bandit__tests__S701_S701.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_bandit/mod.rs +source: src/rules/flake8_bandit/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_blind_except/snapshots/ruff__flake8_blind_except__tests__BLE001_BLE.py.snap b/src/rules/flake8_blind_except/snapshots/ruff__rules__flake8_blind_except__tests__BLE001_BLE.py.snap similarity index 93% rename from src/rules/flake8_blind_except/snapshots/ruff__flake8_blind_except__tests__BLE001_BLE.py.snap rename to src/rules/flake8_blind_except/snapshots/ruff__rules__flake8_blind_except__tests__BLE001_BLE.py.snap index 3a12eaa512..7af7ea681e 100644 --- a/src/rules/flake8_blind_except/snapshots/ruff__flake8_blind_except__tests__BLE001_BLE.py.snap +++ b/src/rules/flake8_blind_except/snapshots/ruff__rules__flake8_blind_except__tests__BLE001_BLE.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_blind_except/mod.rs -expression: checks +source: src/rules/flake8_blind_except/mod.rs +expression: diagnostics --- - kind: BlindExcept: BaseException diff --git a/src/rules/flake8_boolean_trap/snapshots/ruff__flake8_boolean_trap__tests__FBT001_FBT.py.snap b/src/rules/flake8_boolean_trap/snapshots/ruff__rules__flake8_boolean_trap__tests__FBT001_FBT.py.snap similarity index 94% rename from src/rules/flake8_boolean_trap/snapshots/ruff__flake8_boolean_trap__tests__FBT001_FBT.py.snap rename to src/rules/flake8_boolean_trap/snapshots/ruff__rules__flake8_boolean_trap__tests__FBT001_FBT.py.snap index ead0efe6ce..9efaddbdd2 100644 --- a/src/rules/flake8_boolean_trap/snapshots/ruff__flake8_boolean_trap__tests__FBT001_FBT.py.snap +++ b/src/rules/flake8_boolean_trap/snapshots/ruff__rules__flake8_boolean_trap__tests__FBT001_FBT.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_boolean_trap/mod.rs -expression: checks +source: src/rules/flake8_boolean_trap/mod.rs +expression: diagnostics --- - kind: BooleanPositionalArgInFunctionDefinition: ~ diff --git a/src/rules/flake8_boolean_trap/snapshots/ruff__flake8_boolean_trap__tests__FBT002_FBT.py.snap b/src/rules/flake8_boolean_trap/snapshots/ruff__rules__flake8_boolean_trap__tests__FBT002_FBT.py.snap similarity index 90% rename from src/rules/flake8_boolean_trap/snapshots/ruff__flake8_boolean_trap__tests__FBT002_FBT.py.snap rename to src/rules/flake8_boolean_trap/snapshots/ruff__rules__flake8_boolean_trap__tests__FBT002_FBT.py.snap index 2bc213aebe..9f06b696da 100644 --- a/src/rules/flake8_boolean_trap/snapshots/ruff__flake8_boolean_trap__tests__FBT002_FBT.py.snap +++ b/src/rules/flake8_boolean_trap/snapshots/ruff__rules__flake8_boolean_trap__tests__FBT002_FBT.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_boolean_trap/mod.rs -expression: checks +source: src/rules/flake8_boolean_trap/mod.rs +expression: diagnostics --- - kind: BooleanDefaultValueInFunctionDefinition: ~ diff --git a/src/rules/flake8_boolean_trap/snapshots/ruff__flake8_boolean_trap__tests__FBT003_FBT.py.snap b/src/rules/flake8_boolean_trap/snapshots/ruff__rules__flake8_boolean_trap__tests__FBT003_FBT.py.snap similarity index 87% rename from src/rules/flake8_boolean_trap/snapshots/ruff__flake8_boolean_trap__tests__FBT003_FBT.py.snap rename to src/rules/flake8_boolean_trap/snapshots/ruff__rules__flake8_boolean_trap__tests__FBT003_FBT.py.snap index f1d8e4e1ac..f53bbff605 100644 --- a/src/rules/flake8_boolean_trap/snapshots/ruff__flake8_boolean_trap__tests__FBT003_FBT.py.snap +++ b/src/rules/flake8_boolean_trap/snapshots/ruff__rules__flake8_boolean_trap__tests__FBT003_FBT.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_boolean_trap/mod.rs -expression: checks +source: src/rules/flake8_boolean_trap/mod.rs +expression: diagnostics --- - kind: BooleanPositionalValueInFunctionCall: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B002_B002.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B002_B002.py.snap similarity index 81% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B002_B002.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B002_B002.py.snap index 8569db84b7..e295bc58e0 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B002_B002.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B002_B002.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: UnaryPrefixIncrement: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B003_B003.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B003_B003.py.snap similarity index 69% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B003_B003.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B003_B003.py.snap index f5b9d6749d..fd7d019cf9 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B003_B003.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B003_B003.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: AssignmentToOsEnviron: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B004_B004.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B004_B004.py.snap similarity index 81% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B004_B004.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B004_B004.py.snap index 996565f536..ab280dac6e 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B004_B004.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B004_B004.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: UnreliableCallableCheck: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B005_B005.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B005_B005.py.snap similarity index 93% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B005_B005.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B005_B005.py.snap index b6b25c7cfb..8db2fe023d 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B005_B005.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B005_B005.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: StripWithMultiCharacters: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B006_B006_B008.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B006_B006_B008.py.snap similarity index 96% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B006_B006_B008.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B006_B006_B008.py.snap index 1e61bddb7f..06c9ab1ee2 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B006_B006_B008.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B006_B006_B008.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: MutableArgumentDefault: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B007_B007.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B007_B007.py.snap similarity index 94% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B007_B007.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B007_B007.py.snap index fbd088c6e5..f441bb8b23 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B007_B007.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B007_B007.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: UnusedLoopControlVariable: i diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B008_B006_B008.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B008_B006_B008.py.snap similarity index 97% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B008_B006_B008.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B008_B006_B008.py.snap index ce8cdd8400..2157cfca83 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B008_B006_B008.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B008_B006_B008.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: FunctionCallArgumentDefault: range diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B009_B009_B010.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B009_B009_B010.py.snap similarity index 95% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B009_B009_B010.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B009_B009_B010.py.snap index dd67028f70..ce81aa893c 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B009_B009_B010.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B009_B009_B010.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: GetAttrWithConstant: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B010_B009_B010.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B010_B009_B010.py.snap similarity index 95% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B010_B009_B010.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B010_B009_B010.py.snap index 6bfc63c3f6..d285abf130 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B010_B009_B010.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B010_B009_B010.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: SetAttrWithConstant: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B011_B011.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B011_B011.py.snap similarity index 89% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B011_B011.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B011_B011.py.snap index 445be230fe..2c5635df12 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B011_B011.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B011_B011.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: DoNotAssertFalse: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B012_B012.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B012_B012.py.snap similarity index 95% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B012_B012.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B012_B012.py.snap index f58de458b7..17bfe2b6ce 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B012_B012.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B012_B012.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: JumpStatementInFinally: return diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B013_B013.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B013_B013.py.snap similarity index 81% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B013_B013.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B013_B013.py.snap index 8702bebd1c..56fc508d43 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B013_B013.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B013_B013.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: RedundantTupleInExceptionHandler: ValueError diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B014_B014.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B014_B014.py.snap similarity index 92% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B014_B014.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B014_B014.py.snap index 758e453ea4..b4d590ff59 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B014_B014.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B014_B014.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: DuplicateHandlerException: diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B015_B015.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B015_B015.py.snap similarity index 89% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B015_B015.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B015_B015.py.snap index 79deb155e9..634d77ed9b 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B015_B015.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B015_B015.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: UselessComparison: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B016_B016.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B016_B016.py.snap similarity index 86% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B016_B016.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B016_B016.py.snap index b574d5a066..2f9985433b 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B016_B016.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B016_B016.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: CannotRaiseLiteral: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B017_B017.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B017_B017.py.snap similarity index 70% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B017_B017.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B017_B017.py.snap index 55d60e43f7..ba5bfecd2c 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B017_B017.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B017_B017.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: NoAssertRaisesException: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B018_B018.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B018_B018.py.snap similarity index 98% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B018_B018.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B018_B018.py.snap index eba7b52607..24c8e5222c 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B018_B018.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B018_B018.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: UselessExpression: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B019_B019.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B019_B019.py.snap similarity index 94% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B019_B019.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B019_B019.py.snap index 442118373e..739166baad 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B019_B019.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B019_B019.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: CachedInstanceMethod: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B020_B020.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B020_B020.py.snap similarity index 87% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B020_B020.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B020_B020.py.snap index a3285d3b10..b35269c517 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B020_B020.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B020_B020.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: LoopVariableOverridesIterator: items diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B021_B021.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B021_B021.py.snap similarity index 95% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B021_B021.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B021_B021.py.snap index 480a313dd5..e8055f94da 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B021_B021.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B021_B021.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: FStringDocstring: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B022_B022.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B022_B022.py.snap similarity index 82% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B022_B022.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B022_B022.py.snap index bfae86f7ef..e8aff5f85d 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B022_B022.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B022_B022.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: UselessContextlibSuppress: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B023_B023.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B023_B023.py.snap similarity index 98% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B023_B023.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B023_B023.py.snap index a437878276..bb4e76e8b6 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B023_B023.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B023_B023.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_bugbear/mod.rs +source: src/rules/flake8_bugbear/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B024_B024.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B024_B024.py.snap similarity index 96% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B024_B024.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B024_B024.py.snap index d2345d5438..606256788e 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B024_B024.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B024_B024.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_bugbear/mod.rs +source: src/rules/flake8_bugbear/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B025_B025.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B025_B025.py.snap similarity index 90% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B025_B025.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B025_B025.py.snap index 335398dbd8..404d373722 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B025_B025.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B025_B025.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: DuplicateTryBlockException: ValueError diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B026_B026.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B026_B026.py.snap similarity index 94% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B026_B026.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B026_B026.py.snap index 1d44bb1c15..b0364bd6b9 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B026_B026.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B026_B026.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: StarArgUnpackingAfterKeywordArg: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B027_B027.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B027_B027.py.snap similarity index 94% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B027_B027.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B027_B027.py.snap index 0ede6284de..7c9cc3137d 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B027_B027.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B027_B027.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_bugbear/mod.rs +source: src/rules/flake8_bugbear/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B904_B904.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B904_B904.py.snap similarity index 87% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B904_B904.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B904_B904.py.snap index c9aab2c24f..b2dbae3ce0 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B904_B904.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B904_B904.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: RaiseWithoutFromInsideExcept: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B905_B905.py.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B905_B905.py.snap similarity index 93% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B905_B905.py.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B905_B905.py.snap index e670b111b1..6e4a08ba7d 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__B905_B905.py.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__B905_B905.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: ZipWithoutExplicitStrict: ~ diff --git a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__extend_immutable_calls.snap b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__extend_immutable_calls.snap similarity index 71% rename from src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__extend_immutable_calls.snap rename to src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__extend_immutable_calls.snap index 1c6dc06616..972bca4ec8 100644 --- a/src/rules/flake8_bugbear/snapshots/ruff__flake8_bugbear__tests__extend_immutable_calls.snap +++ b/src/rules/flake8_bugbear/snapshots/ruff__rules__flake8_bugbear__tests__extend_immutable_calls.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_bugbear/mod.rs -expression: checks +source: src/rules/flake8_bugbear/mod.rs +expression: diagnostics --- - kind: FunctionCallArgumentDefault: Depends diff --git a/src/rules/flake8_builtins/snapshots/ruff__flake8_builtins__tests__A001_A001.py.snap b/src/rules/flake8_builtins/snapshots/ruff__rules__flake8_builtins__tests__A001_A001.py.snap similarity index 97% rename from src/rules/flake8_builtins/snapshots/ruff__flake8_builtins__tests__A001_A001.py.snap rename to src/rules/flake8_builtins/snapshots/ruff__rules__flake8_builtins__tests__A001_A001.py.snap index 1a0eb0fb92..3907d18a85 100644 --- a/src/rules/flake8_builtins/snapshots/ruff__flake8_builtins__tests__A001_A001.py.snap +++ b/src/rules/flake8_builtins/snapshots/ruff__rules__flake8_builtins__tests__A001_A001.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_builtins/mod.rs -expression: checks +source: src/rules/flake8_builtins/mod.rs +expression: diagnostics --- - kind: BuiltinVariableShadowing: sum diff --git a/src/rules/flake8_builtins/snapshots/ruff__flake8_builtins__tests__A002_A002.py.snap b/src/rules/flake8_builtins/snapshots/ruff__rules__flake8_builtins__tests__A002_A002.py.snap similarity index 94% rename from src/rules/flake8_builtins/snapshots/ruff__flake8_builtins__tests__A002_A002.py.snap rename to src/rules/flake8_builtins/snapshots/ruff__rules__flake8_builtins__tests__A002_A002.py.snap index 83c5d5466c..1c8705613c 100644 --- a/src/rules/flake8_builtins/snapshots/ruff__flake8_builtins__tests__A002_A002.py.snap +++ b/src/rules/flake8_builtins/snapshots/ruff__rules__flake8_builtins__tests__A002_A002.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_builtins/mod.rs -expression: checks +source: src/rules/flake8_builtins/mod.rs +expression: diagnostics --- - kind: BuiltinArgumentShadowing: str diff --git a/src/rules/flake8_builtins/snapshots/ruff__flake8_builtins__tests__A003_A003.py.snap b/src/rules/flake8_builtins/snapshots/ruff__rules__flake8_builtins__tests__A003_A003.py.snap similarity index 82% rename from src/rules/flake8_builtins/snapshots/ruff__flake8_builtins__tests__A003_A003.py.snap rename to src/rules/flake8_builtins/snapshots/ruff__rules__flake8_builtins__tests__A003_A003.py.snap index a294a7ebd0..4a2308d904 100644 --- a/src/rules/flake8_builtins/snapshots/ruff__flake8_builtins__tests__A003_A003.py.snap +++ b/src/rules/flake8_builtins/snapshots/ruff__rules__flake8_builtins__tests__A003_A003.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_builtins/mod.rs -expression: checks +source: src/rules/flake8_builtins/mod.rs +expression: diagnostics --- - kind: BuiltinAttributeShadowing: ImportError diff --git a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C400_C400.py.snap b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C400_C400.py.snap similarity index 92% rename from src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C400_C400.py.snap rename to src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C400_C400.py.snap index 72a8e0c0e8..b98b7cf813 100644 --- a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C400_C400.py.snap +++ b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C400_C400.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_comprehensions/mod.rs +source: src/rules/flake8_comprehensions/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C401_C401.py.snap b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C401_C401.py.snap similarity index 92% rename from src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C401_C401.py.snap rename to src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C401_C401.py.snap index 7e429c0d21..3ffe7b869b 100644 --- a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C401_C401.py.snap +++ b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C401_C401.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_comprehensions/mod.rs +source: src/rules/flake8_comprehensions/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C402_C402.py.snap b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C402_C402.py.snap similarity index 92% rename from src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C402_C402.py.snap rename to src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C402_C402.py.snap index 51ac77dc34..f0ba617d8b 100644 --- a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C402_C402.py.snap +++ b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C402_C402.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_comprehensions/mod.rs +source: src/rules/flake8_comprehensions/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C403_C403.py.snap b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C403_C403.py.snap similarity index 88% rename from src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C403_C403.py.snap rename to src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C403_C403.py.snap index 344166adbe..9dc7d50607 100644 --- a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C403_C403.py.snap +++ b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C403_C403.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_comprehensions/mod.rs -expression: checks +source: src/rules/flake8_comprehensions/mod.rs +expression: diagnostics --- - kind: UnnecessaryListComprehensionSet: ~ diff --git a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C404_C404.py.snap b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C404_C404.py.snap similarity index 80% rename from src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C404_C404.py.snap rename to src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C404_C404.py.snap index 18d42461fd..301ec96341 100644 --- a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C404_C404.py.snap +++ b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C404_C404.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_comprehensions/mod.rs -expression: checks +source: src/rules/flake8_comprehensions/mod.rs +expression: diagnostics --- - kind: UnnecessaryListComprehensionDict: ~ diff --git a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C405_C405.py.snap b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C405_C405.py.snap similarity index 97% rename from src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C405_C405.py.snap rename to src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C405_C405.py.snap index 4cc15ae6dc..75496bc127 100644 --- a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C405_C405.py.snap +++ b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C405_C405.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_comprehensions/mod.rs +source: src/rules/flake8_comprehensions/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C406_C406.py.snap b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C406_C406.py.snap similarity index 93% rename from src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C406_C406.py.snap rename to src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C406_C406.py.snap index 33ec5195e7..ddd4ce39a4 100644 --- a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C406_C406.py.snap +++ b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C406_C406.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_comprehensions/mod.rs -expression: checks +source: src/rules/flake8_comprehensions/mod.rs +expression: diagnostics --- - kind: UnnecessaryLiteralDict: list diff --git a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C408_C408.py.snap b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C408_C408.py.snap similarity index 93% rename from src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C408_C408.py.snap rename to src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C408_C408.py.snap index 507df6cf99..428d904e52 100644 --- a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C408_C408.py.snap +++ b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C408_C408.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_comprehensions/mod.rs -expression: checks +source: src/rules/flake8_comprehensions/mod.rs +expression: diagnostics --- - kind: UnnecessaryCollectionCall: tuple diff --git a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C409_C409.py.snap b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C409_C409.py.snap similarity index 94% rename from src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C409_C409.py.snap rename to src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C409_C409.py.snap index 40fc6c0ee0..d1f0bab540 100644 --- a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C409_C409.py.snap +++ b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C409_C409.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_comprehensions/mod.rs -expression: checks +source: src/rules/flake8_comprehensions/mod.rs +expression: diagnostics --- - kind: UnnecessaryLiteralWithinTupleCall: list diff --git a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C410_C410.py.snap b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C410_C410.py.snap similarity index 93% rename from src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C410_C410.py.snap rename to src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C410_C410.py.snap index 2666d8c752..c5fd54040f 100644 --- a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C410_C410.py.snap +++ b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C410_C410.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_comprehensions/mod.rs -expression: checks +source: src/rules/flake8_comprehensions/mod.rs +expression: diagnostics --- - kind: UnnecessaryLiteralWithinListCall: list diff --git a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C411_C411.py.snap b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C411_C411.py.snap similarity index 78% rename from src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C411_C411.py.snap rename to src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C411_C411.py.snap index 9069948bbb..adf9c049b2 100644 --- a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C411_C411.py.snap +++ b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C411_C411.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_comprehensions/mod.rs -expression: checks +source: src/rules/flake8_comprehensions/mod.rs +expression: diagnostics --- - kind: UnnecessaryListCall: ~ diff --git a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C413_C413.py.snap b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C413_C413.py.snap similarity index 94% rename from src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C413_C413.py.snap rename to src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C413_C413.py.snap index 28a96ea5f6..2fddc6d808 100644 --- a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C413_C413.py.snap +++ b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C413_C413.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_comprehensions/mod.rs -expression: checks +source: src/rules/flake8_comprehensions/mod.rs +expression: diagnostics --- - kind: UnnecessaryCallAroundSorted: list diff --git a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C414_C414.py.snap b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C414_C414.py.snap similarity index 96% rename from src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C414_C414.py.snap rename to src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C414_C414.py.snap index 944a814d60..1bbb8fd83c 100644 --- a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C414_C414.py.snap +++ b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C414_C414.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_comprehensions/mod.rs -expression: checks +source: src/rules/flake8_comprehensions/mod.rs +expression: diagnostics --- - kind: UnnecessaryDoubleCastOrProcess: diff --git a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C415_C415.py.snap b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C415_C415.py.snap similarity index 89% rename from src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C415_C415.py.snap rename to src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C415_C415.py.snap index 2a4073c9d6..915d75c478 100644 --- a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C415_C415.py.snap +++ b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C415_C415.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_comprehensions/mod.rs -expression: checks +source: src/rules/flake8_comprehensions/mod.rs +expression: diagnostics --- - kind: UnnecessarySubscriptReversal: set diff --git a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C416_C416.py.snap b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C416_C416.py.snap similarity index 87% rename from src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C416_C416.py.snap rename to src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C416_C416.py.snap index b60ceed185..0b405e25f3 100644 --- a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C416_C416.py.snap +++ b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C416_C416.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_comprehensions/mod.rs -expression: checks +source: src/rules/flake8_comprehensions/mod.rs +expression: diagnostics --- - kind: UnnecessaryComprehension: list diff --git a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C417_C417.py.snap b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C417_C417.py.snap similarity index 93% rename from src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C417_C417.py.snap rename to src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C417_C417.py.snap index d4e11e2c74..9366587e5f 100644 --- a/src/rules/flake8_comprehensions/snapshots/ruff__flake8_comprehensions__tests__C417_C417.py.snap +++ b/src/rules/flake8_comprehensions/snapshots/ruff__rules__flake8_comprehensions__tests__C417_C417.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_comprehensions/mod.rs -expression: checks +source: src/rules/flake8_comprehensions/mod.rs +expression: diagnostics --- - kind: UnnecessaryMap: generator diff --git a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ001_DTZ001.py.snap b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ001_DTZ001.py.snap similarity index 91% rename from src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ001_DTZ001.py.snap rename to src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ001_DTZ001.py.snap index 715194954f..0d7ffcf92e 100644 --- a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ001_DTZ001.py.snap +++ b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ001_DTZ001.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_datetimez/mod.rs -expression: checks +source: src/rules/flake8_datetimez/mod.rs +expression: diagnostics --- - kind: CallDatetimeWithoutTzinfo: ~ diff --git a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ002_DTZ002.py.snap b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ002_DTZ002.py.snap similarity index 80% rename from src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ002_DTZ002.py.snap rename to src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ002_DTZ002.py.snap index 2ff1d1ce92..8975b480c4 100644 --- a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ002_DTZ002.py.snap +++ b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ002_DTZ002.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_datetimez/mod.rs -expression: checks +source: src/rules/flake8_datetimez/mod.rs +expression: diagnostics --- - kind: CallDatetimeToday: ~ diff --git a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ003_DTZ003.py.snap b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ003_DTZ003.py.snap similarity index 80% rename from src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ003_DTZ003.py.snap rename to src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ003_DTZ003.py.snap index fded301a70..2d2d2d7e2e 100644 --- a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ003_DTZ003.py.snap +++ b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ003_DTZ003.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_datetimez/mod.rs -expression: checks +source: src/rules/flake8_datetimez/mod.rs +expression: diagnostics --- - kind: CallDatetimeUtcnow: ~ diff --git a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ004_DTZ004.py.snap b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ004_DTZ004.py.snap similarity index 81% rename from src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ004_DTZ004.py.snap rename to src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ004_DTZ004.py.snap index 8752839367..6be0863ac8 100644 --- a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ004_DTZ004.py.snap +++ b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ004_DTZ004.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_datetimez/mod.rs -expression: checks +source: src/rules/flake8_datetimez/mod.rs +expression: diagnostics --- - kind: CallDatetimeUtcfromtimestamp: ~ diff --git a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ005_DTZ005.py.snap b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ005_DTZ005.py.snap similarity index 91% rename from src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ005_DTZ005.py.snap rename to src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ005_DTZ005.py.snap index 09d04c3438..0074f17114 100644 --- a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ005_DTZ005.py.snap +++ b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ005_DTZ005.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_datetimez/mod.rs -expression: checks +source: src/rules/flake8_datetimez/mod.rs +expression: diagnostics --- - kind: CallDatetimeNowWithoutTzinfo: ~ diff --git a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ006_DTZ006.py.snap b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ006_DTZ006.py.snap similarity index 91% rename from src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ006_DTZ006.py.snap rename to src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ006_DTZ006.py.snap index 25ed8950a8..15d33082e9 100644 --- a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ006_DTZ006.py.snap +++ b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ006_DTZ006.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_datetimez/mod.rs -expression: checks +source: src/rules/flake8_datetimez/mod.rs +expression: diagnostics --- - kind: CallDatetimeFromtimestamp: ~ diff --git a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ007_DTZ007.py.snap b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ007_DTZ007.py.snap similarity index 91% rename from src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ007_DTZ007.py.snap rename to src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ007_DTZ007.py.snap index 309257b12a..7fc195959a 100644 --- a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ007_DTZ007.py.snap +++ b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ007_DTZ007.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_datetimez/mod.rs -expression: checks +source: src/rules/flake8_datetimez/mod.rs +expression: diagnostics --- - kind: CallDatetimeStrptimeWithoutZone: ~ diff --git a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ011_DTZ011.py.snap b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ011_DTZ011.py.snap similarity index 80% rename from src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ011_DTZ011.py.snap rename to src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ011_DTZ011.py.snap index edea49b52a..ed70ecb990 100644 --- a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ011_DTZ011.py.snap +++ b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ011_DTZ011.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_datetimez/mod.rs -expression: checks +source: src/rules/flake8_datetimez/mod.rs +expression: diagnostics --- - kind: CallDateToday: ~ diff --git a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ012_DTZ012.py.snap b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ012_DTZ012.py.snap similarity index 81% rename from src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ012_DTZ012.py.snap rename to src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ012_DTZ012.py.snap index 317c897862..39b891db17 100644 --- a/src/rules/flake8_datetimez/snapshots/ruff__flake8_datetimez__tests__DTZ012_DTZ012.py.snap +++ b/src/rules/flake8_datetimez/snapshots/ruff__rules__flake8_datetimez__tests__DTZ012_DTZ012.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_datetimez/mod.rs -expression: checks +source: src/rules/flake8_datetimez/mod.rs +expression: diagnostics --- - kind: CallDateFromtimestamp: ~ diff --git a/src/rules/flake8_debugger/snapshots/ruff__flake8_debugger__tests__T100_T100.py.snap b/src/rules/flake8_debugger/snapshots/ruff__rules__flake8_debugger__tests__T100_T100.py.snap similarity index 97% rename from src/rules/flake8_debugger/snapshots/ruff__flake8_debugger__tests__T100_T100.py.snap rename to src/rules/flake8_debugger/snapshots/ruff__rules__flake8_debugger__tests__T100_T100.py.snap index 1f7b547c10..b5851ea5e7 100644 --- a/src/rules/flake8_debugger/snapshots/ruff__flake8_debugger__tests__T100_T100.py.snap +++ b/src/rules/flake8_debugger/snapshots/ruff__rules__flake8_debugger__tests__T100_T100.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_debugger/mod.rs +source: src/rules/flake8_debugger/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_errmsg/snapshots/ruff__flake8_errmsg__tests__custom.snap b/src/rules/flake8_errmsg/snapshots/ruff__rules__flake8_errmsg__tests__custom.snap similarity index 87% rename from src/rules/flake8_errmsg/snapshots/ruff__flake8_errmsg__tests__custom.snap rename to src/rules/flake8_errmsg/snapshots/ruff__rules__flake8_errmsg__tests__custom.snap index 5482c577d7..055fc67adf 100644 --- a/src/rules/flake8_errmsg/snapshots/ruff__flake8_errmsg__tests__custom.snap +++ b/src/rules/flake8_errmsg/snapshots/ruff__rules__flake8_errmsg__tests__custom.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_errmsg/mod.rs -expression: checks +source: src/rules/flake8_errmsg/mod.rs +expression: diagnostics --- - kind: RawStringInException: ~ diff --git a/src/rules/flake8_errmsg/snapshots/ruff__flake8_errmsg__tests__defaults.snap b/src/rules/flake8_errmsg/snapshots/ruff__rules__flake8_errmsg__tests__defaults.snap similarity index 89% rename from src/rules/flake8_errmsg/snapshots/ruff__flake8_errmsg__tests__defaults.snap rename to src/rules/flake8_errmsg/snapshots/ruff__rules__flake8_errmsg__tests__defaults.snap index 3ca1c73c5f..c236364f85 100644 --- a/src/rules/flake8_errmsg/snapshots/ruff__flake8_errmsg__tests__defaults.snap +++ b/src/rules/flake8_errmsg/snapshots/ruff__rules__flake8_errmsg__tests__defaults.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_errmsg/mod.rs -expression: checks +source: src/rules/flake8_errmsg/mod.rs +expression: diagnostics --- - kind: RawStringInException: ~ diff --git a/src/rules/flake8_implicit_str_concat/snapshots/ruff__flake8_implicit_str_concat__tests__ISC001_ISC.py.snap b/src/rules/flake8_implicit_str_concat/snapshots/ruff__rules__flake8_implicit_str_concat__tests__ISC001_ISC.py.snap similarity index 80% rename from src/rules/flake8_implicit_str_concat/snapshots/ruff__flake8_implicit_str_concat__tests__ISC001_ISC.py.snap rename to src/rules/flake8_implicit_str_concat/snapshots/ruff__rules__flake8_implicit_str_concat__tests__ISC001_ISC.py.snap index 712c221d59..a5e902f29e 100644 --- a/src/rules/flake8_implicit_str_concat/snapshots/ruff__flake8_implicit_str_concat__tests__ISC001_ISC.py.snap +++ b/src/rules/flake8_implicit_str_concat/snapshots/ruff__rules__flake8_implicit_str_concat__tests__ISC001_ISC.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_implicit_str_concat/mod.rs -expression: checks +source: src/rules/flake8_implicit_str_concat/mod.rs +expression: diagnostics --- - kind: SingleLineImplicitStringConcatenation: ~ diff --git a/src/rules/flake8_implicit_str_concat/snapshots/ruff__flake8_implicit_str_concat__tests__ISC002_ISC.py.snap b/src/rules/flake8_implicit_str_concat/snapshots/ruff__rules__flake8_implicit_str_concat__tests__ISC002_ISC.py.snap similarity index 67% rename from src/rules/flake8_implicit_str_concat/snapshots/ruff__flake8_implicit_str_concat__tests__ISC002_ISC.py.snap rename to src/rules/flake8_implicit_str_concat/snapshots/ruff__rules__flake8_implicit_str_concat__tests__ISC002_ISC.py.snap index c5463841f8..21e7dea892 100644 --- a/src/rules/flake8_implicit_str_concat/snapshots/ruff__flake8_implicit_str_concat__tests__ISC002_ISC.py.snap +++ b/src/rules/flake8_implicit_str_concat/snapshots/ruff__rules__flake8_implicit_str_concat__tests__ISC002_ISC.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_implicit_str_concat/mod.rs -expression: checks +source: src/rules/flake8_implicit_str_concat/mod.rs +expression: diagnostics --- - kind: MultiLineImplicitStringConcatenation: ~ diff --git a/src/rules/flake8_implicit_str_concat/snapshots/ruff__flake8_implicit_str_concat__tests__ISC003_ISC.py.snap b/src/rules/flake8_implicit_str_concat/snapshots/ruff__rules__flake8_implicit_str_concat__tests__ISC003_ISC.py.snap similarity index 88% rename from src/rules/flake8_implicit_str_concat/snapshots/ruff__flake8_implicit_str_concat__tests__ISC003_ISC.py.snap rename to src/rules/flake8_implicit_str_concat/snapshots/ruff__rules__flake8_implicit_str_concat__tests__ISC003_ISC.py.snap index 81a5b4a909..bba9bd722e 100644 --- a/src/rules/flake8_implicit_str_concat/snapshots/ruff__flake8_implicit_str_concat__tests__ISC003_ISC.py.snap +++ b/src/rules/flake8_implicit_str_concat/snapshots/ruff__rules__flake8_implicit_str_concat__tests__ISC003_ISC.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_implicit_str_concat/mod.rs -expression: checks +source: src/rules/flake8_implicit_str_concat/mod.rs +expression: diagnostics --- - kind: ExplicitStringConcatenation: ~ diff --git a/src/rules/flake8_import_conventions/snapshots/ruff__flake8_import_conventions__tests__custom.snap b/src/rules/flake8_import_conventions/snapshots/ruff__rules__flake8_import_conventions__tests__custom.snap similarity index 97% rename from src/rules/flake8_import_conventions/snapshots/ruff__flake8_import_conventions__tests__custom.snap rename to src/rules/flake8_import_conventions/snapshots/ruff__rules__flake8_import_conventions__tests__custom.snap index 4e01d3bff0..8fa48fa4a8 100644 --- a/src/rules/flake8_import_conventions/snapshots/ruff__flake8_import_conventions__tests__custom.snap +++ b/src/rules/flake8_import_conventions/snapshots/ruff__rules__flake8_import_conventions__tests__custom.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_import_conventions/mod.rs -expression: checks +source: src/rules/flake8_import_conventions/mod.rs +expression: diagnostics --- - kind: ImportAliasIsNotConventional: diff --git a/src/rules/flake8_import_conventions/snapshots/ruff__flake8_import_conventions__tests__defaults.snap b/src/rules/flake8_import_conventions/snapshots/ruff__rules__flake8_import_conventions__tests__defaults.snap similarity index 95% rename from src/rules/flake8_import_conventions/snapshots/ruff__flake8_import_conventions__tests__defaults.snap rename to src/rules/flake8_import_conventions/snapshots/ruff__rules__flake8_import_conventions__tests__defaults.snap index 60f8698cf3..f52e911751 100644 --- a/src/rules/flake8_import_conventions/snapshots/ruff__flake8_import_conventions__tests__defaults.snap +++ b/src/rules/flake8_import_conventions/snapshots/ruff__rules__flake8_import_conventions__tests__defaults.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_import_conventions/mod.rs -expression: checks +source: src/rules/flake8_import_conventions/mod.rs +expression: diagnostics --- - kind: ImportAliasIsNotConventional: diff --git a/src/rules/flake8_import_conventions/snapshots/ruff__flake8_import_conventions__tests__override_default.snap b/src/rules/flake8_import_conventions/snapshots/ruff__rules__flake8_import_conventions__tests__override_default.snap similarity index 95% rename from src/rules/flake8_import_conventions/snapshots/ruff__flake8_import_conventions__tests__override_default.snap rename to src/rules/flake8_import_conventions/snapshots/ruff__rules__flake8_import_conventions__tests__override_default.snap index 6038923c58..e32ba52c5d 100644 --- a/src/rules/flake8_import_conventions/snapshots/ruff__flake8_import_conventions__tests__override_default.snap +++ b/src/rules/flake8_import_conventions/snapshots/ruff__rules__flake8_import_conventions__tests__override_default.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_import_conventions/mod.rs -expression: checks +source: src/rules/flake8_import_conventions/mod.rs +expression: diagnostics --- - kind: ImportAliasIsNotConventional: diff --git a/src/rules/flake8_import_conventions/snapshots/ruff__flake8_import_conventions__tests__remove_default.snap b/src/rules/flake8_import_conventions/snapshots/ruff__rules__flake8_import_conventions__tests__remove_default.snap similarity index 94% rename from src/rules/flake8_import_conventions/snapshots/ruff__flake8_import_conventions__tests__remove_default.snap rename to src/rules/flake8_import_conventions/snapshots/ruff__rules__flake8_import_conventions__tests__remove_default.snap index 3b5e4b36ca..1a8cfd1fed 100644 --- a/src/rules/flake8_import_conventions/snapshots/ruff__flake8_import_conventions__tests__remove_default.snap +++ b/src/rules/flake8_import_conventions/snapshots/ruff__rules__flake8_import_conventions__tests__remove_default.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_import_conventions/mod.rs -expression: checks +source: src/rules/flake8_import_conventions/mod.rs +expression: diagnostics --- - kind: ImportAliasIsNotConventional: diff --git a/src/rules/flake8_pie/snapshots/ruff__flake8_pie__tests__PIE790_PIE790.py.snap b/src/rules/flake8_pie/snapshots/ruff__rules__flake8_pie__tests__PIE790_PIE790.py.snap similarity index 98% rename from src/rules/flake8_pie/snapshots/ruff__flake8_pie__tests__PIE790_PIE790.py.snap rename to src/rules/flake8_pie/snapshots/ruff__rules__flake8_pie__tests__PIE790_PIE790.py.snap index 422b7b7ef9..eaf25fce2f 100644 --- a/src/rules/flake8_pie/snapshots/ruff__flake8_pie__tests__PIE790_PIE790.py.snap +++ b/src/rules/flake8_pie/snapshots/ruff__rules__flake8_pie__tests__PIE790_PIE790.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pie/mod.rs -expression: checks +source: src/rules/flake8_pie/mod.rs +expression: diagnostics --- - kind: NoUnnecessaryPass: ~ diff --git a/src/rules/flake8_pie/snapshots/ruff__flake8_pie__tests__PIE794_PIE794.py.snap b/src/rules/flake8_pie/snapshots/ruff__rules__flake8_pie__tests__PIE794_PIE794.py.snap similarity index 96% rename from src/rules/flake8_pie/snapshots/ruff__flake8_pie__tests__PIE794_PIE794.py.snap rename to src/rules/flake8_pie/snapshots/ruff__rules__flake8_pie__tests__PIE794_PIE794.py.snap index 19afdc7480..01535308e8 100644 --- a/src/rules/flake8_pie/snapshots/ruff__flake8_pie__tests__PIE794_PIE794.py.snap +++ b/src/rules/flake8_pie/snapshots/ruff__rules__flake8_pie__tests__PIE794_PIE794.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_pie/mod.rs +source: src/rules/flake8_pie/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_pie/snapshots/ruff__flake8_pie__tests__PIE807_PIE807.py.snap b/src/rules/flake8_pie/snapshots/ruff__rules__flake8_pie__tests__PIE807_PIE807.py.snap similarity index 92% rename from src/rules/flake8_pie/snapshots/ruff__flake8_pie__tests__PIE807_PIE807.py.snap rename to src/rules/flake8_pie/snapshots/ruff__rules__flake8_pie__tests__PIE807_PIE807.py.snap index 2f34e8fa73..6a5aebe716 100644 --- a/src/rules/flake8_pie/snapshots/ruff__flake8_pie__tests__PIE807_PIE807.py.snap +++ b/src/rules/flake8_pie/snapshots/ruff__rules__flake8_pie__tests__PIE807_PIE807.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pie/mod.rs -expression: checks +source: src/rules/flake8_pie/mod.rs +expression: diagnostics --- - kind: PreferListBuiltin: ~ diff --git a/src/rules/flake8_print/snapshots/ruff__flake8_print__tests__T201_T201.py.snap b/src/rules/flake8_print/snapshots/ruff__rules__flake8_print__tests__T201_T201.py.snap similarity index 93% rename from src/rules/flake8_print/snapshots/ruff__flake8_print__tests__T201_T201.py.snap rename to src/rules/flake8_print/snapshots/ruff__rules__flake8_print__tests__T201_T201.py.snap index d77696ac2d..66a24cead9 100644 --- a/src/rules/flake8_print/snapshots/ruff__flake8_print__tests__T201_T201.py.snap +++ b/src/rules/flake8_print/snapshots/ruff__rules__flake8_print__tests__T201_T201.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_print/mod.rs -expression: checks +source: src/rules/flake8_print/mod.rs +expression: diagnostics --- - kind: PrintFound: ~ diff --git a/src/rules/flake8_print/snapshots/ruff__flake8_print__tests__T203_T203.py.snap b/src/rules/flake8_print/snapshots/ruff__rules__flake8_print__tests__T203_T203.py.snap similarity index 88% rename from src/rules/flake8_print/snapshots/ruff__flake8_print__tests__T203_T203.py.snap rename to src/rules/flake8_print/snapshots/ruff__rules__flake8_print__tests__T203_T203.py.snap index c3d6dc3210..296069de39 100644 --- a/src/rules/flake8_print/snapshots/ruff__flake8_print__tests__T203_T203.py.snap +++ b/src/rules/flake8_print/snapshots/ruff__rules__flake8_print__tests__T203_T203.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_print/mod.rs -expression: checks +source: src/rules/flake8_print/mod.rs +expression: diagnostics --- - kind: PPrintFound: ~ diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT001_default.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT001_default.snap similarity index 92% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT001_default.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT001_default.snap index 83bb8e96c4..de343ecb74 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT001_default.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT001_default.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: IncorrectFixtureParenthesesStyle: diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT001_no_parentheses.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT001_no_parentheses.snap similarity index 96% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT001_no_parentheses.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT001_no_parentheses.snap index 74bef3591f..a48514ef95 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT001_no_parentheses.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT001_no_parentheses.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: IncorrectFixtureParenthesesStyle: diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT002.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT002.snap similarity index 81% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT002.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT002.snap index 55dfaba08f..7907caf252 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT002.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT002.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: FixturePositionalArgs: my_fixture diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT003.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT003.snap similarity index 68% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT003.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT003.snap index a246054a6f..a43a407bc1 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT003.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT003.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: ExtraneousScopeFunction: ~ diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT004.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT004.snap similarity index 88% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT004.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT004.snap index ccdd5981dd..09b52f73f7 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT004.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT004.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_pytest_style/mod.rs +source: src/rules/flake8_pytest_style/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT005.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT005.snap similarity index 92% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT005.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT005.snap index 7ddc2d0d0e..aa41de97fd 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT005.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT005.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_pytest_style/mod.rs +source: src/rules/flake8_pytest_style/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT006_csv.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT006_csv.snap similarity index 95% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT006_csv.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT006_csv.snap index bee4145e5e..61915e66bd 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT006_csv.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT006_csv.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: ParametrizeNamesWrongType: csv diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT006_default.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT006_default.snap similarity index 96% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT006_default.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT006_default.snap index d0cbb099ce..4bba64f17e 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT006_default.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT006_default.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: ParametrizeNamesWrongType: tuple diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT006_list.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT006_list.snap similarity index 95% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT006_list.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT006_list.snap index ac065f953d..a93e5e5c15 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT006_list.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT006_list.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: ParametrizeNamesWrongType: list diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT007_list_of_lists.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT007_list_of_lists.snap similarity index 94% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT007_list_of_lists.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT007_list_of_lists.snap index 9f1fc5f134..6104bdfec5 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT007_list_of_lists.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT007_list_of_lists.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: ParametrizeValuesWrongType: diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT007_list_of_tuples.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT007_list_of_tuples.snap similarity index 94% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT007_list_of_tuples.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT007_list_of_tuples.snap index 89e352f6a7..abe2b358fc 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT007_list_of_tuples.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT007_list_of_tuples.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: ParametrizeValuesWrongType: diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT007_tuple_of_lists.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT007_tuple_of_lists.snap similarity index 94% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT007_tuple_of_lists.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT007_tuple_of_lists.snap index 7743dc8631..1a725d77e3 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT007_tuple_of_lists.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT007_tuple_of_lists.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: ParametrizeValuesWrongType: diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT007_tuple_of_tuples.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT007_tuple_of_tuples.snap similarity index 94% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT007_tuple_of_tuples.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT007_tuple_of_tuples.snap index 62351d28d6..c1bd40d75f 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT007_tuple_of_tuples.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT007_tuple_of_tuples.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: ParametrizeValuesWrongType: diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT008.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT008.snap similarity index 95% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT008.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT008.snap index f9fda39d93..ba30b25889 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT008.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT008.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: PatchWithLambda: ~ diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT009.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT009.snap similarity index 99% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT009.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT009.snap index 5ea90e5595..e7649ceb83 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT009.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT009.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: UnittestAssertion: assertTrue diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT010.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT010.snap similarity index 68% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT010.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT010.snap index 152b3879ee..268aed1f3d 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT010.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT010.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: RaisesWithoutException: ~ diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT011_default.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT011_default.snap similarity index 91% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT011_default.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT011_default.snap index 28d90bd664..4c9f92d1c1 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT011_default.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT011_default.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: RaisesTooBroad: ValueError diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT011_extend_broad_exceptions.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT011_extend_broad_exceptions.snap similarity index 92% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT011_extend_broad_exceptions.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT011_extend_broad_exceptions.snap index 94d8d24f55..335c775bbc 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT011_extend_broad_exceptions.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT011_extend_broad_exceptions.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: RaisesTooBroad: ZeroDivisionError diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT011_replace_broad_exceptions.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT011_replace_broad_exceptions.snap similarity index 69% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT011_replace_broad_exceptions.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT011_replace_broad_exceptions.snap index 1d91d5f749..ddd224de72 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT011_replace_broad_exceptions.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT011_replace_broad_exceptions.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: RaisesTooBroad: ZeroDivisionError diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT012.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT012.snap similarity index 94% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT012.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT012.snap index 33d3744c63..dbe51a0f0f 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT012.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT012.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: RaisesWithMultipleStatements: ~ diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT013.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT013.snap similarity index 86% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT013.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT013.snap index c7ee1d187f..57e0eac25d 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT013.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT013.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: IncorrectPytestImport: ~ diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT015.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT015.snap similarity index 97% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT015.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT015.snap index dcff99bb6f..ebcd1391f4 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT015.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT015.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: AssertAlwaysFalse: ~ diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT016.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT016.snap similarity index 90% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT016.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT016.snap index a320d57990..5ad429f651 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT016.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT016.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: FailWithoutMessage: ~ diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT017.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT017.snap similarity index 67% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT017.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT017.snap index 43ee62bbc4..0baacbdefa 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT017.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT017.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: AssertInExcept: e diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT018.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT018.snap similarity index 93% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT018.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT018.snap index 60b2c24cf9..fa5ba42068 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT018.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT018.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: CompositeAssertion: ~ diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT019.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT019.snap similarity index 81% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT019.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT019.snap index e911541e20..ff8f63e58e 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT019.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT019.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: FixtureParamWithoutValue: _fixture diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT020.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT020.snap similarity index 80% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT020.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT020.snap index af62f8c9f7..ff9db9b85a 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT020.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT020.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: DeprecatedYieldFixture: ~ diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT021.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT021.snap similarity index 80% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT021.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT021.snap index e3dd5274d4..76e5520c8a 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT021.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT021.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: FixtureFinalizerCallback: ~ diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT022.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT022.snap similarity index 79% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT022.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT022.snap index 87d0b62a92..943b1174e2 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT022.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT022.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: UselessYieldFixture: error diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT023_default.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT023_default.snap similarity index 95% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT023_default.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT023_default.snap index 96fc0c0d7c..cd7e6b918f 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT023_default.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT023_default.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: IncorrectMarkParenthesesStyle: diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT023_no_parentheses.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT023_no_parentheses.snap similarity index 95% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT023_no_parentheses.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT023_no_parentheses.snap index 1bf07e7574..3bdd001a49 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT023_no_parentheses.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT023_no_parentheses.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: IncorrectMarkParenthesesStyle: diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT024.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT024.snap similarity index 95% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT024.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT024.snap index 465a8e3176..3da8230e49 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT024.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT024.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_pytest_style/mod.rs +source: src/rules/flake8_pytest_style/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT025.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT025.snap similarity index 92% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT025.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT025.snap index c947b0f415..ba77bd129c 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT025.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT025.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_pytest_style/mod.rs +source: src/rules/flake8_pytest_style/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT026.snap b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT026.snap similarity index 88% rename from src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT026.snap rename to src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT026.snap index c4e1f6f23e..51395c7aa5 100644 --- a/src/rules/flake8_pytest_style/snapshots/ruff__flake8_pytest_style__tests__PT026.snap +++ b/src/rules/flake8_pytest_style/snapshots/ruff__rules__flake8_pytest_style__tests__PT026.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_pytest_style/mod.rs -expression: checks +source: src/rules/flake8_pytest_style/mod.rs +expression: diagnostics --- - kind: UseFixturesWithoutParameters: ~ diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__doubles_doubles_noqa.py.snap b/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__doubles_doubles_noqa.py.snap deleted file mode 100644 index ad8fb2403f..0000000000 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__doubles_doubles_noqa.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/flake8_quotes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__doubles_doubles_wrapped.py.snap b/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__doubles_doubles_wrapped.py.snap deleted file mode 100644 index ad8fb2403f..0000000000 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__doubles_doubles_wrapped.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/flake8_quotes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__singles_singles_noqa.py.snap b/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__singles_singles_noqa.py.snap deleted file mode 100644 index ad8fb2403f..0000000000 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__singles_singles_noqa.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/flake8_quotes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__singles_singles_wrapped.py.snap b/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__singles_singles_wrapped.py.snap deleted file mode 100644 index ad8fb2403f..0000000000 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__singles_singles_wrapped.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/flake8_quotes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_doubles.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_doubles.py.snap similarity index 97% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_doubles.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_doubles.py.snap index 04615aed80..4b185c4c68 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_doubles.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_doubles.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_doubles_class.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_doubles_class.py.snap similarity index 93% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_doubles_class.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_doubles_class.py.snap index 58d7b6a8ec..d1241a74b0 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_doubles_class.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_doubles_class.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_doubles_function.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_doubles_function.py.snap similarity index 97% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_doubles_function.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_doubles_function.py.snap index f26c974dc2..0144dc0886 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_doubles_function.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_doubles_function.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_doubles_module_multiline.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_doubles_module_multiline.py.snap similarity index 93% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_doubles_module_multiline.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_doubles_module_multiline.py.snap index 8b69b4b1d8..6b531f6e0d 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_doubles_module_multiline.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_doubles_module_multiline.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_doubles_module_singleline.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_doubles_module_singleline.py.snap similarity index 93% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_doubles_module_singleline.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_doubles_module_singleline.py.snap index 07d89d27a8..13f3983b68 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_doubles_module_singleline.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_doubles_module_singleline.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_singles.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_singles.py.snap similarity index 96% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_singles.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_singles.py.snap index 5d0e69287b..b7779269aa 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_singles.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_singles.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_singles_class.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_singles_class.py.snap similarity index 95% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_singles_class.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_singles_class.py.snap index fb2b69cc5c..49e2bb6811 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_singles_class.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_singles_class.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_singles_function.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_singles_function.py.snap similarity index 95% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_singles_function.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_singles_function.py.snap index 1d2a971114..68075aba12 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_singles_function.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_singles_function.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_singles_module_multiline.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_singles_module_multiline.py.snap similarity index 89% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_singles_module_multiline.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_singles_module_multiline.py.snap index c00308ab12..8278c26105 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_singles_module_multiline.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_singles_module_multiline.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_singles_module_singleline.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_singles_module_singleline.py.snap similarity index 89% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_singles_module_singleline.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_singles_module_singleline.py.snap index 816863fe37..790e2ac703 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__double_docstring_docstring_singles_module_singleline.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__double_docstring_docstring_singles_module_singleline.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__doubles_doubles.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__doubles_doubles.py.snap similarity index 93% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__doubles_doubles.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__doubles_doubles.py.snap index 6a3f82974c..c5c7ebc5ff 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__doubles_doubles.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__doubles_doubles.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__doubles_doubles_escaped.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__doubles_doubles_escaped.py.snap similarity index 93% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__doubles_doubles_escaped.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__doubles_doubles_escaped.py.snap index 0c2e02fe16..52f3a18594 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__doubles_doubles_escaped.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__doubles_doubles_escaped.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__doubles_doubles_multiline_string.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__doubles_doubles_multiline_string.py.snap similarity index 89% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__doubles_doubles_multiline_string.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__doubles_doubles_multiline_string.py.snap index 4363550694..1141a3bb3d 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__doubles_doubles_multiline_string.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__doubles_doubles_multiline_string.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__doubles_doubles_noqa.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__doubles_doubles_noqa.py.snap new file mode 100644 index 0000000000..c185aeed46 --- /dev/null +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__doubles_doubles_noqa.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/flake8_quotes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__doubles_doubles_wrapped.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__doubles_doubles_wrapped.py.snap new file mode 100644 index 0000000000..c185aeed46 --- /dev/null +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__doubles_doubles_wrapped.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/flake8_quotes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_doubles.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_doubles.py.snap similarity index 96% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_doubles.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_doubles.py.snap index fe1ff22666..a75bb30b8a 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_doubles.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_doubles.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_doubles_class.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_doubles_class.py.snap similarity index 95% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_doubles_class.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_doubles_class.py.snap index 4380b4b0f2..a8805d3a1e 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_doubles_class.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_doubles_class.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_doubles_function.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_doubles_function.py.snap similarity index 95% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_doubles_function.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_doubles_function.py.snap index 0bd9aa16b9..62d75c7d66 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_doubles_function.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_doubles_function.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_doubles_module_multiline.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_doubles_module_multiline.py.snap similarity index 89% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_doubles_module_multiline.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_doubles_module_multiline.py.snap index e78cc03d78..4cacc72a91 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_doubles_module_multiline.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_doubles_module_multiline.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_doubles_module_singleline.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_doubles_module_singleline.py.snap similarity index 89% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_doubles_module_singleline.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_doubles_module_singleline.py.snap index c51898a288..7dbcd2499b 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_doubles_module_singleline.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_doubles_module_singleline.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_singles.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_singles.py.snap similarity index 98% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_singles.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_singles.py.snap index 36cbcc0bca..d767e78632 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_singles.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_singles.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_singles_class.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_singles_class.py.snap similarity index 93% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_singles_class.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_singles_class.py.snap index bcadfdcc8f..52bdc1213e 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_singles_class.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_singles_class.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_singles_function.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_singles_function.py.snap similarity index 97% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_singles_function.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_singles_function.py.snap index 1221159987..0acc7bbd3c 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_singles_function.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_singles_function.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_singles_module_multiline.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_singles_module_multiline.py.snap similarity index 93% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_singles_module_multiline.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_singles_module_multiline.py.snap index dbf2a7547f..32048d9e19 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_singles_module_multiline.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_singles_module_multiline.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_singles_module_singleline.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_singles_module_singleline.py.snap similarity index 93% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_singles_module_singleline.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_singles_module_singleline.py.snap index 6ddda69712..f08bab111a 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__single_docstring_docstring_singles_module_singleline.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__single_docstring_docstring_singles_module_singleline.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__singles_singles.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__singles_singles.py.snap similarity index 93% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__singles_singles.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__singles_singles.py.snap index 2e364842f7..07e47c9427 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__singles_singles.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__singles_singles.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__singles_singles_escaped.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__singles_singles_escaped.py.snap similarity index 88% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__singles_singles_escaped.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__singles_singles_escaped.py.snap index 3421949288..b50be1a990 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__singles_singles_escaped.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__singles_singles_escaped.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__singles_singles_multiline_string.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__singles_singles_multiline_string.py.snap similarity index 89% rename from src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__singles_singles_multiline_string.py.snap rename to src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__singles_singles_multiline_string.py.snap index a48a344112..b82f77cf91 100644 --- a/src/rules/flake8_quotes/snapshots/ruff__flake8_quotes__tests__singles_singles_multiline_string.py.snap +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__singles_singles_multiline_string.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_quotes/mod.rs +source: src/rules/flake8_quotes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__singles_singles_noqa.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__singles_singles_noqa.py.snap new file mode 100644 index 0000000000..c185aeed46 --- /dev/null +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__singles_singles_noqa.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/flake8_quotes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__singles_singles_wrapped.py.snap b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__singles_singles_wrapped.py.snap new file mode 100644 index 0000000000..c185aeed46 --- /dev/null +++ b/src/rules/flake8_quotes/snapshots/ruff__rules__flake8_quotes__tests__singles_singles_wrapped.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/flake8_quotes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET501_RET501.py.snap b/src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET501_RET501.py.snap similarity index 80% rename from src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET501_RET501.py.snap rename to src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET501_RET501.py.snap index 755f34581d..08f803fd54 100644 --- a/src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET501_RET501.py.snap +++ b/src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET501_RET501.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_return/mod.rs -expression: checks +source: src/rules/flake8_return/mod.rs +expression: diagnostics --- - kind: UnnecessaryReturnNone: ~ diff --git a/src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET502_RET502.py.snap b/src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET502_RET502.py.snap similarity index 80% rename from src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET502_RET502.py.snap rename to src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET502_RET502.py.snap index 6d5f75c4e3..ec70c3db74 100644 --- a/src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET502_RET502.py.snap +++ b/src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET502_RET502.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_return/mod.rs -expression: checks +source: src/rules/flake8_return/mod.rs +expression: diagnostics --- - kind: ImplicitReturnValue: ~ diff --git a/src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET503_RET503.py.snap b/src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET503_RET503.py.snap similarity index 94% rename from src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET503_RET503.py.snap rename to src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET503_RET503.py.snap index d4e2a63042..dd75371fbd 100644 --- a/src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET503_RET503.py.snap +++ b/src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET503_RET503.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_return/mod.rs -expression: checks +source: src/rules/flake8_return/mod.rs +expression: diagnostics --- - kind: ImplicitReturn: ~ diff --git a/src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET504_RET504.py.snap b/src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET504_RET504.py.snap similarity index 91% rename from src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET504_RET504.py.snap rename to src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET504_RET504.py.snap index c6ffa729ae..8b9969a243 100644 --- a/src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET504_RET504.py.snap +++ b/src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET504_RET504.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_return/mod.rs -expression: checks +source: src/rules/flake8_return/mod.rs +expression: diagnostics --- - kind: UnnecessaryAssign: ~ diff --git a/src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET505_RET505.py.snap b/src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET505_RET505.py.snap similarity index 94% rename from src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET505_RET505.py.snap rename to src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET505_RET505.py.snap index fe4e35e930..355a3af3aa 100644 --- a/src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET505_RET505.py.snap +++ b/src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET505_RET505.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_return/mod.rs -expression: checks +source: src/rules/flake8_return/mod.rs +expression: diagnostics --- - kind: SuperfluousElseReturn: Elif diff --git a/src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET506_RET506.py.snap b/src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET506_RET506.py.snap similarity index 94% rename from src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET506_RET506.py.snap rename to src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET506_RET506.py.snap index d5a9ad8db4..a67eb39898 100644 --- a/src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET506_RET506.py.snap +++ b/src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET506_RET506.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_return/mod.rs -expression: checks +source: src/rules/flake8_return/mod.rs +expression: diagnostics --- - kind: SuperfluousElseRaise: Elif diff --git a/src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET507_RET507.py.snap b/src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET507_RET507.py.snap similarity index 94% rename from src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET507_RET507.py.snap rename to src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET507_RET507.py.snap index af3a6c3500..6583d720e3 100644 --- a/src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET507_RET507.py.snap +++ b/src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET507_RET507.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_return/mod.rs -expression: checks +source: src/rules/flake8_return/mod.rs +expression: diagnostics --- - kind: SuperfluousElseContinue: Elif diff --git a/src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET508_RET508.py.snap b/src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET508_RET508.py.snap similarity index 94% rename from src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET508_RET508.py.snap rename to src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET508_RET508.py.snap index 9ffcd7fe29..069d3d0706 100644 --- a/src/rules/flake8_return/snapshots/ruff__flake8_return__tests__RET508_RET508.py.snap +++ b/src/rules/flake8_return/snapshots/ruff__rules__flake8_return__tests__RET508_RET508.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_return/mod.rs -expression: checks +source: src/rules/flake8_return/mod.rs +expression: diagnostics --- - kind: SuperfluousElseBreak: Elif diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM101_SIM101.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM101_SIM101.py.snap similarity index 96% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM101_SIM101.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM101_SIM101.py.snap index 347bb42ceb..d06adac8a9 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM101_SIM101.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM101_SIM101.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: DuplicateIsinstanceCall: a diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM102_SIM102.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM102_SIM102.py.snap similarity index 80% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM102_SIM102.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM102_SIM102.py.snap index 52b5c408c7..e79f32da8a 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM102_SIM102.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM102_SIM102.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: NestedIfStatements: ~ diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM103_SIM103.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM103_SIM103.py.snap similarity index 80% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM103_SIM103.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM103_SIM103.py.snap index b6c04bc2b6..1fcbffcb08 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM103_SIM103.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM103_SIM103.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: ReturnBoolConditionDirectly: a diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM105_SIM105.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM105_SIM105.py.snap similarity index 90% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM105_SIM105.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM105_SIM105.py.snap index 83cde9f7c0..dbf46f3d0a 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM105_SIM105.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM105_SIM105.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: UseContextlibSuppress: ValueError diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM107_SIM107.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM107_SIM107.py.snap similarity index 69% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM107_SIM107.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM107_SIM107.py.snap index 583ec3cd7e..15d41063ba 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM107_SIM107.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM107_SIM107.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: ReturnInTryExceptFinally: ~ diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM108_SIM108.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM108_SIM108.py.snap similarity index 94% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM108_SIM108.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM108_SIM108.py.snap index ffacb73b30..4614af5435 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM108_SIM108.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM108_SIM108.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_simplify/mod.rs +source: src/rules/flake8_simplify/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM109_SIM109.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM109_SIM109.py.snap similarity index 82% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM109_SIM109.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM109_SIM109.py.snap index e5e7cb1abe..ffc6d77caf 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM109_SIM109.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM109_SIM109.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: CompareWithTuple: diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM110_SIM110.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM110_SIM110.py.snap similarity index 95% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM110_SIM110.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM110_SIM110.py.snap index 8f54cc3c71..185f0958cb 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM110_SIM110.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM110_SIM110.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_simplify/mod.rs +source: src/rules/flake8_simplify/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM111_SIM111.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM111_SIM111.py.snap similarity index 96% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM111_SIM111.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM111_SIM111.py.snap index 2443a844c3..d8b81fdb5e 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM111_SIM111.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM111_SIM111.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_simplify/mod.rs +source: src/rules/flake8_simplify/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM112_SIM112.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM112_SIM112.py.snap similarity index 96% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM112_SIM112.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM112_SIM112.py.snap index c6848ec03e..9331b326fb 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM112_SIM112.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM112_SIM112.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_simplify/mod.rs +source: src/rules/flake8_simplify/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM115_SIM115.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM115_SIM115.py.snap similarity index 80% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM115_SIM115.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM115_SIM115.py.snap index 05e2ebaf64..16c4b7ad01 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM115_SIM115.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM115_SIM115.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_simplify/mod.rs +source: src/rules/flake8_simplify/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM117_SIM117.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM117_SIM117.py.snap similarity index 88% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM117_SIM117.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM117_SIM117.py.snap index a3bd3189fe..6479ba03f2 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM117_SIM117.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM117_SIM117.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_simplify/mod.rs +source: src/rules/flake8_simplify/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM118_SIM118.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM118_SIM118.py.snap similarity index 97% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM118_SIM118.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM118_SIM118.py.snap index 4379144901..d7433b15c5 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM118_SIM118.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM118_SIM118.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: KeyInDict: diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM201_SIM201.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM201_SIM201.py.snap similarity index 92% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM201_SIM201.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM201_SIM201.py.snap index de3043c436..4e2cecc956 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM201_SIM201.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM201_SIM201.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: NegateEqualOp: diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM202_SIM202.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM202_SIM202.py.snap similarity index 92% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM202_SIM202.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM202_SIM202.py.snap index 1a038bec17..834ad449ef 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM202_SIM202.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM202_SIM202.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: NegateNotEqualOp: diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM208_SIM208.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM208_SIM208.py.snap similarity index 88% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM208_SIM208.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM208_SIM208.py.snap index de677fbd12..44c2bb5823 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM208_SIM208.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM208_SIM208.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: DoubleNegation: a diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM210_SIM210.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM210_SIM210.py.snap similarity index 92% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM210_SIM210.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM210_SIM210.py.snap index db606bee62..e0b77422f5 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM210_SIM210.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM210_SIM210.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: IfExprWithTrueFalse: b diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM211_SIM211.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM211_SIM211.py.snap similarity index 92% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM211_SIM211.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM211_SIM211.py.snap index c09285d349..8e7d7ca61c 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM211_SIM211.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM211_SIM211.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: IfExprWithFalseTrue: b diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM212_SIM212.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM212_SIM212.py.snap similarity index 89% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM212_SIM212.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM212_SIM212.py.snap index 600ee47fe5..5d751a03e7 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM212_SIM212.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM212_SIM212.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: IfExprWithTwistedArms: diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM220_SIM220.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM220_SIM220.py.snap similarity index 91% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM220_SIM220.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM220_SIM220.py.snap index e500a1e803..d31e4c7f3c 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM220_SIM220.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM220_SIM220.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: AAndNotA: a diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM221_SIM221.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM221_SIM221.py.snap similarity index 85% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM221_SIM221.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM221_SIM221.py.snap index dccbea38a6..c08369119c 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM221_SIM221.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM221_SIM221.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: AOrNotA: a diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM222_SIM222.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM222_SIM222.py.snap similarity index 85% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM222_SIM222.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM222_SIM222.py.snap index 334fa55b2c..b6e2c1762d 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM222_SIM222.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM222_SIM222.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: OrTrue: ~ diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM223_SIM223.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM223_SIM223.py.snap similarity index 91% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM223_SIM223.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM223_SIM223.py.snap index 61dd69b62d..ea64408835 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM223_SIM223.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM223_SIM223.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: AndFalse: ~ diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM300_SIM300.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM300_SIM300.py.snap similarity index 92% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM300_SIM300.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM300_SIM300.py.snap index 74dd1e56a9..a51b234628 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM300_SIM300.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM300_SIM300.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_simplify/mod.rs -expression: checks +source: src/rules/flake8_simplify/mod.rs +expression: diagnostics --- - kind: YodaConditions: diff --git a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM401_SIM401.py.snap b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM401_SIM401.py.snap similarity index 97% rename from src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM401_SIM401.py.snap rename to src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM401_SIM401.py.snap index d683c16daf..9c02b2929f 100644 --- a/src/rules/flake8_simplify/snapshots/ruff__flake8_simplify__tests__SIM401_SIM401.py.snap +++ b/src/rules/flake8_simplify/snapshots/ruff__rules__flake8_simplify__tests__SIM401_SIM401.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_simplify/mod.rs +source: src/rules/flake8_simplify/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_tidy_imports/snapshots/ruff__flake8_tidy_imports__tests__ban_all_imports.snap b/src/rules/flake8_tidy_imports/snapshots/ruff__rules__flake8_tidy_imports__tests__ban_all_imports.snap similarity index 92% rename from src/rules/flake8_tidy_imports/snapshots/ruff__flake8_tidy_imports__tests__ban_all_imports.snap rename to src/rules/flake8_tidy_imports/snapshots/ruff__rules__flake8_tidy_imports__tests__ban_all_imports.snap index 11ff2bf438..3f2d64f556 100644 --- a/src/rules/flake8_tidy_imports/snapshots/ruff__flake8_tidy_imports__tests__ban_all_imports.snap +++ b/src/rules/flake8_tidy_imports/snapshots/ruff__rules__flake8_tidy_imports__tests__ban_all_imports.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_tidy_imports/mod.rs -expression: checks +source: src/rules/flake8_tidy_imports/mod.rs +expression: diagnostics --- - kind: BannedRelativeImport: all diff --git a/src/rules/flake8_tidy_imports/snapshots/ruff__flake8_tidy_imports__tests__ban_parent_imports.snap b/src/rules/flake8_tidy_imports/snapshots/ruff__rules__flake8_tidy_imports__tests__ban_parent_imports.snap similarity index 89% rename from src/rules/flake8_tidy_imports/snapshots/ruff__flake8_tidy_imports__tests__ban_parent_imports.snap rename to src/rules/flake8_tidy_imports/snapshots/ruff__rules__flake8_tidy_imports__tests__ban_parent_imports.snap index f4b0891d73..9e146f34c0 100644 --- a/src/rules/flake8_tidy_imports/snapshots/ruff__flake8_tidy_imports__tests__ban_parent_imports.snap +++ b/src/rules/flake8_tidy_imports/snapshots/ruff__rules__flake8_tidy_imports__tests__ban_parent_imports.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_tidy_imports/mod.rs -expression: checks +source: src/rules/flake8_tidy_imports/mod.rs +expression: diagnostics --- - kind: BannedRelativeImport: parents diff --git a/src/rules/flake8_tidy_imports/snapshots/ruff__flake8_tidy_imports__tests__banned_api_true_positives.snap b/src/rules/flake8_tidy_imports/snapshots/ruff__rules__flake8_tidy_imports__tests__banned_api_true_positives.snap similarity index 97% rename from src/rules/flake8_tidy_imports/snapshots/ruff__flake8_tidy_imports__tests__banned_api_true_positives.snap rename to src/rules/flake8_tidy_imports/snapshots/ruff__rules__flake8_tidy_imports__tests__banned_api_true_positives.snap index 26e365ad26..a39cb7771a 100644 --- a/src/rules/flake8_tidy_imports/snapshots/ruff__flake8_tidy_imports__tests__banned_api_true_positives.snap +++ b/src/rules/flake8_tidy_imports/snapshots/ruff__rules__flake8_tidy_imports__tests__banned_api_true_positives.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_tidy_imports/mod.rs -expression: checks +source: src/rules/flake8_tidy_imports/mod.rs +expression: diagnostics --- - kind: BannedApi: diff --git a/src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ARG001_ARG.py.snap b/src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ARG001_ARG.py.snap similarity index 93% rename from src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ARG001_ARG.py.snap rename to src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ARG001_ARG.py.snap index 1d643a6bd1..2e84512d06 100644 --- a/src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ARG001_ARG.py.snap +++ b/src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ARG001_ARG.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_unused_arguments/mod.rs -expression: checks +source: src/rules/flake8_unused_arguments/mod.rs +expression: diagnostics --- - kind: UnusedFunctionArgument: self diff --git a/src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ARG002_ARG.py.snap b/src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ARG002_ARG.py.snap similarity index 92% rename from src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ARG002_ARG.py.snap rename to src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ARG002_ARG.py.snap index 3d13df950e..13167af69b 100644 --- a/src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ARG002_ARG.py.snap +++ b/src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ARG002_ARG.py.snap @@ -1,5 +1,5 @@ --- -source: src/flake8_unused_arguments/mod.rs +source: src/rules/flake8_unused_arguments/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ARG003_ARG.py.snap b/src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ARG003_ARG.py.snap similarity index 67% rename from src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ARG003_ARG.py.snap rename to src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ARG003_ARG.py.snap index 8081cb4942..d13040f74f 100644 --- a/src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ARG003_ARG.py.snap +++ b/src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ARG003_ARG.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_unused_arguments/mod.rs -expression: checks +source: src/rules/flake8_unused_arguments/mod.rs +expression: diagnostics --- - kind: UnusedClassMethodArgument: x diff --git a/src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ARG004_ARG.py.snap b/src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ARG004_ARG.py.snap similarity index 85% rename from src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ARG004_ARG.py.snap rename to src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ARG004_ARG.py.snap index 60246e0c9f..78dc1f86d8 100644 --- a/src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ARG004_ARG.py.snap +++ b/src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ARG004_ARG.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_unused_arguments/mod.rs -expression: checks +source: src/rules/flake8_unused_arguments/mod.rs +expression: diagnostics --- - kind: UnusedStaticMethodArgument: cls diff --git a/src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ARG005_ARG.py.snap b/src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ARG005_ARG.py.snap similarity index 66% rename from src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ARG005_ARG.py.snap rename to src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ARG005_ARG.py.snap index fcd9caf935..a759e337fc 100644 --- a/src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ARG005_ARG.py.snap +++ b/src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ARG005_ARG.py.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_unused_arguments/mod.rs -expression: checks +source: src/rules/flake8_unused_arguments/mod.rs +expression: diagnostics --- - kind: UnusedLambdaArgument: x diff --git a/src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__enforce_variadic_names.snap b/src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__enforce_variadic_names.snap similarity index 95% rename from src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__enforce_variadic_names.snap rename to src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__enforce_variadic_names.snap index 710595473c..400646a143 100644 --- a/src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__enforce_variadic_names.snap +++ b/src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__enforce_variadic_names.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_unused_arguments/mod.rs -expression: checks +source: src/rules/flake8_unused_arguments/mod.rs +expression: diagnostics --- - kind: UnusedFunctionArgument: a diff --git a/src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ignore_variadic_names.snap b/src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ignore_variadic_names.snap similarity index 93% rename from src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ignore_variadic_names.snap rename to src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ignore_variadic_names.snap index 4ab9f99ed6..4a952071eb 100644 --- a/src/rules/flake8_unused_arguments/snapshots/ruff__flake8_unused_arguments__tests__ignore_variadic_names.snap +++ b/src/rules/flake8_unused_arguments/snapshots/ruff__rules__flake8_unused_arguments__tests__ignore_variadic_names.snap @@ -1,6 +1,6 @@ --- -source: src/flake8_unused_arguments/mod.rs -expression: checks +source: src/rules/flake8_unused_arguments/mod.rs +expression: diagnostics --- - kind: UnusedFunctionArgument: a diff --git a/src/rules/isort/snapshots/ruff__isort__tests__no_reorder_within_section.py.snap b/src/rules/isort/snapshots/ruff__isort__tests__no_reorder_within_section.py.snap deleted file mode 100644 index 6b7d975e4e..0000000000 --- a/src/rules/isort/snapshots/ruff__isort__tests__no_reorder_within_section.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/isort/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/isort/snapshots/ruff__isort__tests__required_import_empty.py.snap b/src/rules/isort/snapshots/ruff__isort__tests__required_import_empty.py.snap deleted file mode 100644 index b6554d2495..0000000000 --- a/src/rules/isort/snapshots/ruff__isort__tests__required_import_empty.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/isort/mod.rs -expression: diagnostics ---- -[] - diff --git a/src/rules/isort/snapshots/ruff__isort__tests__required_imports_docstring_only.py.snap b/src/rules/isort/snapshots/ruff__isort__tests__required_imports_docstring_only.py.snap deleted file mode 100644 index b6554d2495..0000000000 --- a/src/rules/isort/snapshots/ruff__isort__tests__required_imports_docstring_only.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/isort/mod.rs -expression: diagnostics ---- -[] - diff --git a/src/rules/isort/snapshots/ruff__isort__tests__required_imports_empty.py.snap b/src/rules/isort/snapshots/ruff__isort__tests__required_imports_empty.py.snap deleted file mode 100644 index b6554d2495..0000000000 --- a/src/rules/isort/snapshots/ruff__isort__tests__required_imports_empty.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/isort/mod.rs -expression: diagnostics ---- -[] - diff --git a/src/rules/isort/snapshots/ruff__isort__tests__skip_file.py.snap b/src/rules/isort/snapshots/ruff__isort__tests__skip_file.py.snap deleted file mode 100644 index 6b7d975e4e..0000000000 --- a/src/rules/isort/snapshots/ruff__isort__tests__skip_file.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/isort/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/isort/snapshots/ruff__isort__tests__split.py.snap b/src/rules/isort/snapshots/ruff__isort__tests__split.py.snap deleted file mode 100644 index 6b7d975e4e..0000000000 --- a/src/rules/isort/snapshots/ruff__isort__tests__split.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/isort/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/isort/snapshots/ruff__isort__tests__straight_required_import_docstring_only.py.snap b/src/rules/isort/snapshots/ruff__isort__tests__straight_required_import_docstring_only.py.snap deleted file mode 100644 index b6554d2495..0000000000 --- a/src/rules/isort/snapshots/ruff__isort__tests__straight_required_import_docstring_only.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/isort/mod.rs -expression: diagnostics ---- -[] - diff --git a/src/rules/isort/snapshots/ruff__isort__tests__straight_required_import_empty.py.snap b/src/rules/isort/snapshots/ruff__isort__tests__straight_required_import_empty.py.snap deleted file mode 100644 index b6554d2495..0000000000 --- a/src/rules/isort/snapshots/ruff__isort__tests__straight_required_import_empty.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/isort/mod.rs -expression: diagnostics ---- -[] - diff --git a/src/rules/isort/snapshots/ruff__isort__tests__type_comments.py.snap b/src/rules/isort/snapshots/ruff__isort__tests__type_comments.py.snap deleted file mode 100644 index 6b7d975e4e..0000000000 --- a/src/rules/isort/snapshots/ruff__isort__tests__type_comments.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/isort/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/isort/snapshots/ruff__isort__tests__add_newline_before_comments.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__add_newline_before_comments.py.snap similarity index 89% rename from src/rules/isort/snapshots/ruff__isort__tests__add_newline_before_comments.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__add_newline_before_comments.py.snap index 41ccb8b7ed..607683dade 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__add_newline_before_comments.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__add_newline_before_comments.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__closest_to_furthest_relative_imports_order.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__closest_to_furthest_relative_imports_order.py.snap similarity index 91% rename from src/rules/isort/snapshots/ruff__isort__tests__closest_to_furthest_relative_imports_order.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__closest_to_furthest_relative_imports_order.py.snap index 3eb7206370..9f0a9d9e90 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__closest_to_furthest_relative_imports_order.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__closest_to_furthest_relative_imports_order.py.snap @@ -1,5 +1,5 @@ --- -source: src/isort/mod.rs +source: src/rules/isort/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/isort/snapshots/ruff__isort__tests__combine_as_imports.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__combine_as_imports.py.snap similarity index 86% rename from src/rules/isort/snapshots/ruff__isort__tests__combine_as_imports.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__combine_as_imports.py.snap index 748662fdb3..2b6d4d3764 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__combine_as_imports.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__combine_as_imports.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__combine_as_imports_combine_as_imports.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__combine_as_imports_combine_as_imports.py.snap similarity index 84% rename from src/rules/isort/snapshots/ruff__isort__tests__combine_as_imports_combine_as_imports.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__combine_as_imports_combine_as_imports.py.snap index 5e4b94db3a..a77c68be96 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__combine_as_imports_combine_as_imports.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__combine_as_imports_combine_as_imports.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__combine_import_from.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__combine_import_from.py.snap similarity index 87% rename from src/rules/isort/snapshots/ruff__isort__tests__combine_import_from.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__combine_import_from.py.snap index 39eaa39e20..7a26557993 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__combine_import_from.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__combine_import_from.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__combined_required_imports_docstring.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__combined_required_imports_docstring.py.snap similarity index 95% rename from src/rules/isort/snapshots/ruff__isort__tests__combined_required_imports_docstring.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__combined_required_imports_docstring.py.snap index 1c4b670850..c223769218 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__combined_required_imports_docstring.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__combined_required_imports_docstring.py.snap @@ -1,5 +1,5 @@ --- -source: src/isort/mod.rs +source: src/rules/isort/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/isort/snapshots/ruff__isort__tests__relative_imports_order.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__combined_required_imports_docstring_only.py.snap similarity index 53% rename from src/rules/isort/snapshots/ruff__isort__tests__relative_imports_order.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__combined_required_imports_docstring_only.py.snap index b6554d2495..40d8799b10 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__relative_imports_order.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__combined_required_imports_docstring_only.py.snap @@ -1,5 +1,5 @@ --- -source: src/isort/mod.rs +source: src/rules/isort/mod.rs expression: diagnostics --- [] diff --git a/src/rules/isort/snapshots/ruff__rules__isort__tests__combined_required_imports_empty.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__combined_required_imports_empty.py.snap new file mode 100644 index 0000000000..40d8799b10 --- /dev/null +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__combined_required_imports_empty.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/isort/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/isort/snapshots/ruff__isort__tests__comments.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__comments.py.snap similarity index 92% rename from src/rules/isort/snapshots/ruff__isort__tests__comments.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__comments.py.snap index f70458fe38..dcc40ca7b7 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__comments.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__comments.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__deduplicate_imports.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__deduplicate_imports.py.snap similarity index 84% rename from src/rules/isort/snapshots/ruff__isort__tests__deduplicate_imports.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__deduplicate_imports.py.snap index edf560ab77..bf35137410 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__deduplicate_imports.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__deduplicate_imports.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__fit_line_length.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__fit_line_length.py.snap similarity index 94% rename from src/rules/isort/snapshots/ruff__isort__tests__fit_line_length.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__fit_line_length.py.snap index e2d21ee2a9..92cb154768 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__fit_line_length.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__fit_line_length.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__fit_line_length_comment.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__fit_line_length_comment.py.snap similarity index 90% rename from src/rules/isort/snapshots/ruff__isort__tests__fit_line_length_comment.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__fit_line_length_comment.py.snap index e3028f8de5..684020de99 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__fit_line_length_comment.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__fit_line_length_comment.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__force_single_line_force_single_line.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__force_single_line_force_single_line.py.snap similarity index 93% rename from src/rules/isort/snapshots/ruff__isort__tests__force_single_line_force_single_line.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__force_single_line_force_single_line.py.snap index 01524ddf87..de139c84f3 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__force_single_line_force_single_line.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__force_single_line_force_single_line.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__force_sort_within_sections.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__force_sort_within_sections.py.snap similarity index 94% rename from src/rules/isort/snapshots/ruff__isort__tests__force_sort_within_sections.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__force_sort_within_sections.py.snap index 516c986bec..fc4fc01f8c 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__force_sort_within_sections.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__force_sort_within_sections.py.snap @@ -1,5 +1,5 @@ --- -source: src/isort/mod.rs +source: src/rules/isort/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/isort/snapshots/ruff__isort__tests__force_sort_within_sections_force_sort_within_sections.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__force_sort_within_sections_force_sort_within_sections.py.snap similarity index 94% rename from src/rules/isort/snapshots/ruff__isort__tests__force_sort_within_sections_force_sort_within_sections.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__force_sort_within_sections_force_sort_within_sections.py.snap index 9f668b299f..d98501d835 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__force_sort_within_sections_force_sort_within_sections.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__force_sort_within_sections_force_sort_within_sections.py.snap @@ -1,5 +1,5 @@ --- -source: src/isort/mod.rs +source: src/rules/isort/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/isort/snapshots/ruff__isort__tests__force_wrap_aliases.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__force_wrap_aliases.py.snap similarity index 85% rename from src/rules/isort/snapshots/ruff__isort__tests__force_wrap_aliases.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__force_wrap_aliases.py.snap index 6e4376eeaa..226ac4b9a7 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__force_wrap_aliases.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__force_wrap_aliases.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__force_wrap_aliases_force_wrap_aliases.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__force_wrap_aliases_force_wrap_aliases.py.snap similarity index 86% rename from src/rules/isort/snapshots/ruff__isort__tests__force_wrap_aliases_force_wrap_aliases.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__force_wrap_aliases_force_wrap_aliases.py.snap index ba82f91266..9c5873db6f 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__force_wrap_aliases_force_wrap_aliases.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__force_wrap_aliases_force_wrap_aliases.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__import_from_after_import.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__import_from_after_import.py.snap similarity index 84% rename from src/rules/isort/snapshots/ruff__isort__tests__import_from_after_import.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__import_from_after_import.py.snap index c0f32be7aa..b9e2ceb696 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__import_from_after_import.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__import_from_after_import.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__inline_comments.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__inline_comments.py.snap similarity index 92% rename from src/rules/isort/snapshots/ruff__isort__tests__inline_comments.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__inline_comments.py.snap index 260975fb58..b5f2103905 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__inline_comments.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__inline_comments.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__insert_empty_lines.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__insert_empty_lines.py.snap similarity index 94% rename from src/rules/isort/snapshots/ruff__isort__tests__insert_empty_lines.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__insert_empty_lines.py.snap index 19d3c5e6f4..6771476af2 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__insert_empty_lines.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__insert_empty_lines.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__insert_empty_lines.pyi.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__insert_empty_lines.pyi.snap similarity index 93% rename from src/rules/isort/snapshots/ruff__isort__tests__insert_empty_lines.pyi.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__insert_empty_lines.pyi.snap index 7aa77fb847..125da2f4ca 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__insert_empty_lines.pyi.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__insert_empty_lines.pyi.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__leading_prefix.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__leading_prefix.py.snap similarity index 90% rename from src/rules/isort/snapshots/ruff__isort__tests__leading_prefix.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__leading_prefix.py.snap index 2d527944cd..954c01e45b 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__leading_prefix.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__leading_prefix.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__line_ending_cr.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__line_ending_cr.py.snap similarity index 86% rename from src/rules/isort/snapshots/ruff__isort__tests__line_ending_cr.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__line_ending_cr.py.snap index c84f5e4cc0..40a9de3d39 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__line_ending_cr.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__line_ending_cr.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__line_ending_crlf.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__line_ending_crlf.py.snap similarity index 87% rename from src/rules/isort/snapshots/ruff__isort__tests__line_ending_crlf.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__line_ending_crlf.py.snap index 7fc4f5fd2a..0b2b770183 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__line_ending_crlf.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__line_ending_crlf.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__line_ending_lf.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__line_ending_lf.py.snap similarity index 86% rename from src/rules/isort/snapshots/ruff__isort__tests__line_ending_lf.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__line_ending_lf.py.snap index 81b2b8023c..146dc80a8f 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__line_ending_lf.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__line_ending_lf.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__magic_trailing_comma.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__magic_trailing_comma.py.snap similarity index 94% rename from src/rules/isort/snapshots/ruff__isort__tests__magic_trailing_comma.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__magic_trailing_comma.py.snap index 7a70faab4e..7552365595 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__magic_trailing_comma.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__magic_trailing_comma.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__natural_order.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__natural_order.py.snap similarity index 88% rename from src/rules/isort/snapshots/ruff__isort__tests__natural_order.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__natural_order.py.snap index 8559d5c1d5..fca832a973 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__natural_order.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__natural_order.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__rules__isort__tests__no_reorder_within_section.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__no_reorder_within_section.py.snap new file mode 100644 index 0000000000..40d8799b10 --- /dev/null +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__no_reorder_within_section.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/isort/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/isort/snapshots/ruff__isort__tests__no_wrap_star.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__no_wrap_star.py.snap similarity index 86% rename from src/rules/isort/snapshots/ruff__isort__tests__no_wrap_star.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__no_wrap_star.py.snap index 6ec370b284..9b1bdd12ee 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__no_wrap_star.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__no_wrap_star.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__order_by_type.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__order_by_type.py.snap similarity index 89% rename from src/rules/isort/snapshots/ruff__isort__tests__order_by_type.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__order_by_type.py.snap index 2dc4eb536a..d79e4fba72 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__order_by_type.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__order_by_type.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__order_by_type_false_order_by_type.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__order_by_type_false_order_by_type.py.snap similarity index 89% rename from src/rules/isort/snapshots/ruff__isort__tests__order_by_type_false_order_by_type.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__order_by_type_false_order_by_type.py.snap index fc3e69d12a..4058ecf2c3 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__order_by_type_false_order_by_type.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__order_by_type_false_order_by_type.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__order_by_type_with_custom_classes.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__order_by_type_with_custom_classes.py.snap similarity index 93% rename from src/rules/isort/snapshots/ruff__isort__tests__order_by_type_with_custom_classes.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__order_by_type_with_custom_classes.py.snap index a4edc48381..b6bb59f78e 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__order_by_type_with_custom_classes.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__order_by_type_with_custom_classes.py.snap @@ -1,5 +1,5 @@ --- -source: src/isort/mod.rs +source: src/rules/isort/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/isort/snapshots/ruff__isort__tests__order_by_type_with_custom_classes_order_by_type_with_custom_classes.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__order_by_type_with_custom_classes_order_by_type_with_custom_classes.py.snap similarity index 93% rename from src/rules/isort/snapshots/ruff__isort__tests__order_by_type_with_custom_classes_order_by_type_with_custom_classes.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__order_by_type_with_custom_classes_order_by_type_with_custom_classes.py.snap index be91ca84f2..3706eeaaec 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__order_by_type_with_custom_classes_order_by_type_with_custom_classes.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__order_by_type_with_custom_classes_order_by_type_with_custom_classes.py.snap @@ -1,5 +1,5 @@ --- -source: src/isort/mod.rs +source: src/rules/isort/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/isort/snapshots/ruff__isort__tests__order_relative_imports_by_level.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__order_relative_imports_by_level.py.snap similarity index 85% rename from src/rules/isort/snapshots/ruff__isort__tests__order_relative_imports_by_level.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__order_relative_imports_by_level.py.snap index 38ed82f2d6..1ad46d8d1f 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__order_relative_imports_by_level.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__order_relative_imports_by_level.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__preserve_comment_order.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__preserve_comment_order.py.snap similarity index 90% rename from src/rules/isort/snapshots/ruff__isort__tests__preserve_comment_order.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__preserve_comment_order.py.snap index bc6bbb8107..4a1964228c 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__preserve_comment_order.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__preserve_comment_order.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__preserve_import_star.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__preserve_import_star.py.snap similarity index 88% rename from src/rules/isort/snapshots/ruff__isort__tests__preserve_import_star.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__preserve_import_star.py.snap index bb95f02045..75ef557a44 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__preserve_import_star.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__preserve_import_star.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__preserve_indentation.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__preserve_indentation.py.snap similarity index 90% rename from src/rules/isort/snapshots/ruff__isort__tests__preserve_indentation.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__preserve_indentation.py.snap index 56d559bf50..d537be01a3 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__preserve_indentation.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__preserve_indentation.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__rules__isort__tests__relative_imports_order.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__relative_imports_order.py.snap new file mode 100644 index 0000000000..40d8799b10 --- /dev/null +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__relative_imports_order.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/isort/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/isort/snapshots/ruff__isort__tests__reorder_within_section.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__reorder_within_section.py.snap similarity index 82% rename from src/rules/isort/snapshots/ruff__isort__tests__reorder_within_section.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__reorder_within_section.py.snap index 702f622b88..29b4de12ea 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__reorder_within_section.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__reorder_within_section.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__required_import_docstring.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__required_import_docstring.py.snap similarity index 91% rename from src/rules/isort/snapshots/ruff__isort__tests__required_import_docstring.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__required_import_docstring.py.snap index ecb42274f2..0a95ad4112 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__required_import_docstring.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__required_import_docstring.py.snap @@ -1,5 +1,5 @@ --- -source: src/isort/mod.rs +source: src/rules/isort/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/isort/snapshots/ruff__rules__isort__tests__required_import_docstring_only.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__required_import_docstring_only.py.snap new file mode 100644 index 0000000000..40d8799b10 --- /dev/null +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__required_import_docstring_only.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/isort/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/isort/snapshots/ruff__rules__isort__tests__required_import_empty.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__required_import_empty.py.snap new file mode 100644 index 0000000000..40d8799b10 --- /dev/null +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__required_import_empty.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/isort/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/isort/snapshots/ruff__isort__tests__required_imports_docstring.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__required_imports_docstring.py.snap similarity index 95% rename from src/rules/isort/snapshots/ruff__isort__tests__required_imports_docstring.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__required_imports_docstring.py.snap index 1c4b670850..c223769218 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__required_imports_docstring.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__required_imports_docstring.py.snap @@ -1,5 +1,5 @@ --- -source: src/isort/mod.rs +source: src/rules/isort/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/isort/snapshots/ruff__rules__isort__tests__required_imports_docstring_only.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__required_imports_docstring_only.py.snap new file mode 100644 index 0000000000..40d8799b10 --- /dev/null +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__required_imports_docstring_only.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/isort/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/isort/snapshots/ruff__rules__isort__tests__required_imports_empty.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__required_imports_empty.py.snap new file mode 100644 index 0000000000..40d8799b10 --- /dev/null +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__required_imports_empty.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/isort/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/isort/snapshots/ruff__isort__tests__separate_first_party_imports.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__separate_first_party_imports.py.snap similarity index 86% rename from src/rules/isort/snapshots/ruff__isort__tests__separate_first_party_imports.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__separate_first_party_imports.py.snap index d67e4fe358..42c4bf3cca 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__separate_first_party_imports.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__separate_first_party_imports.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__separate_future_imports.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__separate_future_imports.py.snap similarity index 84% rename from src/rules/isort/snapshots/ruff__isort__tests__separate_future_imports.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__separate_future_imports.py.snap index 3bf29c21df..b145e5c17b 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__separate_future_imports.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__separate_future_imports.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__separate_local_folder_imports.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__separate_local_folder_imports.py.snap similarity index 85% rename from src/rules/isort/snapshots/ruff__isort__tests__separate_local_folder_imports.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__separate_local_folder_imports.py.snap index 91e2d80782..f6dd8eff19 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__separate_local_folder_imports.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__separate_local_folder_imports.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__separate_third_party_imports.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__separate_third_party_imports.py.snap similarity index 84% rename from src/rules/isort/snapshots/ruff__isort__tests__separate_third_party_imports.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__separate_third_party_imports.py.snap index 2c614ff6a0..220adeb20b 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__separate_third_party_imports.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__separate_third_party_imports.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__skip.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__skip.py.snap similarity index 91% rename from src/rules/isort/snapshots/ruff__isort__tests__skip.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__skip.py.snap index 569e42ca09..937b18188c 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__skip.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__skip.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__rules__isort__tests__skip_file.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__skip_file.py.snap new file mode 100644 index 0000000000..40d8799b10 --- /dev/null +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__skip_file.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/isort/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/isort/snapshots/ruff__isort__tests__sort_similar_imports.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__sort_similar_imports.py.snap similarity index 92% rename from src/rules/isort/snapshots/ruff__isort__tests__sort_similar_imports.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__sort_similar_imports.py.snap index 2e7474cc16..e0ea1e7d9f 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__sort_similar_imports.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__sort_similar_imports.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__rules__isort__tests__split.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__split.py.snap new file mode 100644 index 0000000000..40d8799b10 --- /dev/null +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__split.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/isort/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/isort/snapshots/ruff__isort__tests__split_on_trailing_comma_magic_trailing_comma.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__split_on_trailing_comma_magic_trailing_comma.py.snap similarity index 93% rename from src/rules/isort/snapshots/ruff__isort__tests__split_on_trailing_comma_magic_trailing_comma.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__split_on_trailing_comma_magic_trailing_comma.py.snap index ae62773b62..1b5a086892 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__split_on_trailing_comma_magic_trailing_comma.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__split_on_trailing_comma_magic_trailing_comma.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__isort__tests__straight_required_import_docstring.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__straight_required_import_docstring.py.snap similarity index 90% rename from src/rules/isort/snapshots/ruff__isort__tests__straight_required_import_docstring.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__straight_required_import_docstring.py.snap index e63c70c191..3931d3c85b 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__straight_required_import_docstring.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__straight_required_import_docstring.py.snap @@ -1,5 +1,5 @@ --- -source: src/isort/mod.rs +source: src/rules/isort/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/isort/snapshots/ruff__rules__isort__tests__straight_required_import_docstring_only.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__straight_required_import_docstring_only.py.snap new file mode 100644 index 0000000000..40d8799b10 --- /dev/null +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__straight_required_import_docstring_only.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/isort/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/isort/snapshots/ruff__rules__isort__tests__straight_required_import_empty.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__straight_required_import_empty.py.snap new file mode 100644 index 0000000000..40d8799b10 --- /dev/null +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__straight_required_import_empty.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/isort/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/isort/snapshots/ruff__isort__tests__trailing_suffix.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__trailing_suffix.py.snap similarity index 83% rename from src/rules/isort/snapshots/ruff__isort__tests__trailing_suffix.py.snap rename to src/rules/isort/snapshots/ruff__rules__isort__tests__trailing_suffix.py.snap index 19a07930b1..ecc01703d6 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__trailing_suffix.py.snap +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__trailing_suffix.py.snap @@ -1,6 +1,6 @@ --- -source: src/isort/mod.rs -expression: checks +source: src/rules/isort/mod.rs +expression: diagnostics --- - kind: UnsortedImports: ~ diff --git a/src/rules/isort/snapshots/ruff__rules__isort__tests__type_comments.py.snap b/src/rules/isort/snapshots/ruff__rules__isort__tests__type_comments.py.snap new file mode 100644 index 0000000000..40d8799b10 --- /dev/null +++ b/src/rules/isort/snapshots/ruff__rules__isort__tests__type_comments.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/isort/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/mccabe/snapshots/ruff__mccabe__tests__max_complexity_10.snap b/src/rules/mccabe/snapshots/ruff__mccabe__tests__max_complexity_10.snap deleted file mode 100644 index 8efd1fb269..0000000000 --- a/src/rules/mccabe/snapshots/ruff__mccabe__tests__max_complexity_10.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/mccabe/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/mccabe/snapshots/ruff__mccabe__tests__max_complexity_0.snap b/src/rules/mccabe/snapshots/ruff__rules__mccabe__tests__max_complexity_0.snap similarity index 98% rename from src/rules/mccabe/snapshots/ruff__mccabe__tests__max_complexity_0.snap rename to src/rules/mccabe/snapshots/ruff__rules__mccabe__tests__max_complexity_0.snap index faf6cfa0a2..04a5e78d7e 100644 --- a/src/rules/mccabe/snapshots/ruff__mccabe__tests__max_complexity_0.snap +++ b/src/rules/mccabe/snapshots/ruff__rules__mccabe__tests__max_complexity_0.snap @@ -1,6 +1,6 @@ --- -source: src/mccabe/mod.rs -expression: checks +source: src/rules/mccabe/mod.rs +expression: diagnostics --- - kind: FunctionIsTooComplex: diff --git a/src/rules/mccabe/snapshots/ruff__rules__mccabe__tests__max_complexity_10.snap b/src/rules/mccabe/snapshots/ruff__rules__mccabe__tests__max_complexity_10.snap new file mode 100644 index 0000000000..3b58f1e34d --- /dev/null +++ b/src/rules/mccabe/snapshots/ruff__rules__mccabe__tests__max_complexity_10.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/mccabe/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/mccabe/snapshots/ruff__mccabe__tests__max_complexity_3.snap b/src/rules/mccabe/snapshots/ruff__rules__mccabe__tests__max_complexity_3.snap similarity index 85% rename from src/rules/mccabe/snapshots/ruff__mccabe__tests__max_complexity_3.snap rename to src/rules/mccabe/snapshots/ruff__rules__mccabe__tests__max_complexity_3.snap index 091f1a2cd0..c3f7aa957d 100644 --- a/src/rules/mccabe/snapshots/ruff__mccabe__tests__max_complexity_3.snap +++ b/src/rules/mccabe/snapshots/ruff__rules__mccabe__tests__max_complexity_3.snap @@ -1,6 +1,6 @@ --- -source: src/mccabe/mod.rs -expression: checks +source: src/rules/mccabe/mod.rs +expression: diagnostics --- - kind: FunctionIsTooComplex: diff --git a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N801_N801.py.snap b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N801_N801.py.snap similarity index 91% rename from src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N801_N801.py.snap rename to src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N801_N801.py.snap index d6ae1082ea..4077f76b06 100644 --- a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N801_N801.py.snap +++ b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N801_N801.py.snap @@ -1,6 +1,6 @@ --- -source: src/pep8_naming/mod.rs -expression: checks +source: src/rules/pep8_naming/mod.rs +expression: diagnostics --- - kind: InvalidClassName: bad diff --git a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N802_N802.py.snap b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N802_N802.py.snap similarity index 92% rename from src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N802_N802.py.snap rename to src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N802_N802.py.snap index fd475ba13c..6b91cc815f 100644 --- a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N802_N802.py.snap +++ b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N802_N802.py.snap @@ -1,6 +1,6 @@ --- -source: src/pep8_naming/mod.rs -expression: checks +source: src/rules/pep8_naming/mod.rs +expression: diagnostics --- - kind: InvalidFunctionName: Bad diff --git a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N803_N803.py.snap b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N803_N803.py.snap similarity index 82% rename from src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N803_N803.py.snap rename to src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N803_N803.py.snap index a07c16ae7f..c5fef58d74 100644 --- a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N803_N803.py.snap +++ b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N803_N803.py.snap @@ -1,6 +1,6 @@ --- -source: src/pep8_naming/mod.rs -expression: checks +source: src/rules/pep8_naming/mod.rs +expression: diagnostics --- - kind: InvalidArgumentName: A diff --git a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N804_N804.py.snap b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N804_N804.py.snap similarity index 88% rename from src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N804_N804.py.snap rename to src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N804_N804.py.snap index 8473c20b70..c7615713c7 100644 --- a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N804_N804.py.snap +++ b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N804_N804.py.snap @@ -1,6 +1,6 @@ --- -source: src/pep8_naming/mod.rs -expression: checks +source: src/rules/pep8_naming/mod.rs +expression: diagnostics --- - kind: InvalidFirstArgumentNameForClassMethod: ~ diff --git a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N805_N805.py.snap b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N805_N805.py.snap similarity index 90% rename from src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N805_N805.py.snap rename to src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N805_N805.py.snap index 563897fbc2..7bb40698b9 100644 --- a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N805_N805.py.snap +++ b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N805_N805.py.snap @@ -1,6 +1,6 @@ --- -source: src/pep8_naming/mod.rs -expression: checks +source: src/rules/pep8_naming/mod.rs +expression: diagnostics --- - kind: InvalidFirstArgumentNameForMethod: ~ diff --git a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N806_N806.py.snap b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N806_N806.py.snap similarity index 83% rename from src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N806_N806.py.snap rename to src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N806_N806.py.snap index 6488fbf460..5f099257c1 100644 --- a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N806_N806.py.snap +++ b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N806_N806.py.snap @@ -1,6 +1,6 @@ --- -source: src/pep8_naming/mod.rs -expression: checks +source: src/rules/pep8_naming/mod.rs +expression: diagnostics --- - kind: NonLowercaseVariableInFunction: Camel diff --git a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N807_N807.py.snap b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N807_N807.py.snap similarity index 82% rename from src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N807_N807.py.snap rename to src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N807_N807.py.snap index bf58ff7ecf..778ea3e3b9 100644 --- a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N807_N807.py.snap +++ b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N807_N807.py.snap @@ -1,6 +1,6 @@ --- -source: src/pep8_naming/mod.rs -expression: checks +source: src/rules/pep8_naming/mod.rs +expression: diagnostics --- - kind: DunderFunctionName: ~ diff --git a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N811_N811.py.snap b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N811_N811.py.snap similarity index 90% rename from src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N811_N811.py.snap rename to src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N811_N811.py.snap index 17dcdadf19..b16342110d 100644 --- a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N811_N811.py.snap +++ b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N811_N811.py.snap @@ -1,6 +1,6 @@ --- -source: src/pep8_naming/mod.rs -expression: checks +source: src/rules/pep8_naming/mod.rs +expression: diagnostics --- - kind: ConstantImportedAsNonConstant: diff --git a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N812_N812.py.snap b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N812_N812.py.snap similarity index 90% rename from src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N812_N812.py.snap rename to src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N812_N812.py.snap index 088787a72a..f694b139ce 100644 --- a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N812_N812.py.snap +++ b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N812_N812.py.snap @@ -1,6 +1,6 @@ --- -source: src/pep8_naming/mod.rs -expression: checks +source: src/rules/pep8_naming/mod.rs +expression: diagnostics --- - kind: LowercaseImportedAsNonLowercase: diff --git a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N813_N813.py.snap b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N813_N813.py.snap similarity index 90% rename from src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N813_N813.py.snap rename to src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N813_N813.py.snap index 3cce4770bf..01bde8f763 100644 --- a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N813_N813.py.snap +++ b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N813_N813.py.snap @@ -1,6 +1,6 @@ --- -source: src/pep8_naming/mod.rs -expression: checks +source: src/rules/pep8_naming/mod.rs +expression: diagnostics --- - kind: CamelcaseImportedAsLowercase: diff --git a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N814_N814.py.snap b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N814_N814.py.snap similarity index 89% rename from src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N814_N814.py.snap rename to src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N814_N814.py.snap index 1b20a71e23..1439867315 100644 --- a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N814_N814.py.snap +++ b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N814_N814.py.snap @@ -1,6 +1,6 @@ --- -source: src/pep8_naming/mod.rs -expression: checks +source: src/rules/pep8_naming/mod.rs +expression: diagnostics --- - kind: CamelcaseImportedAsConstant: diff --git a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N815_N815.py.snap b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N815_N815.py.snap similarity index 88% rename from src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N815_N815.py.snap rename to src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N815_N815.py.snap index 0c61ffd142..ad8394f518 100644 --- a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N815_N815.py.snap +++ b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N815_N815.py.snap @@ -1,6 +1,6 @@ --- -source: src/pep8_naming/mod.rs -expression: checks +source: src/rules/pep8_naming/mod.rs +expression: diagnostics --- - kind: MixedCaseVariableInClassScope: mixedCase diff --git a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N816_N816.py.snap b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N816_N816.py.snap similarity index 88% rename from src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N816_N816.py.snap rename to src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N816_N816.py.snap index 1cf28f831b..1627f9405c 100644 --- a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N816_N816.py.snap +++ b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N816_N816.py.snap @@ -1,6 +1,6 @@ --- -source: src/pep8_naming/mod.rs -expression: checks +source: src/rules/pep8_naming/mod.rs +expression: diagnostics --- - kind: MixedCaseVariableInGlobalScope: mixedCase diff --git a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N817_N817.py.snap b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N817_N817.py.snap similarity index 84% rename from src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N817_N817.py.snap rename to src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N817_N817.py.snap index 9339b071b3..49a4130c8d 100644 --- a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N817_N817.py.snap +++ b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N817_N817.py.snap @@ -1,6 +1,6 @@ --- -source: src/pep8_naming/mod.rs -expression: checks +source: src/rules/pep8_naming/mod.rs +expression: diagnostics --- - kind: CamelcaseImportedAsAcronym: diff --git a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N818_N818.py.snap b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N818_N818.py.snap similarity index 82% rename from src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N818_N818.py.snap rename to src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N818_N818.py.snap index 289e195cf0..a5380b36bf 100644 --- a/src/rules/pep8_naming/snapshots/ruff__pep8_naming__tests__N818_N818.py.snap +++ b/src/rules/pep8_naming/snapshots/ruff__rules__pep8_naming__tests__N818_N818.py.snap @@ -1,6 +1,6 @@ --- -source: src/pep8_naming/mod.rs -expression: checks +source: src/rules/pep8_naming/mod.rs +expression: diagnostics --- - kind: ErrorSuffixOnExceptionName: C diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W292_W292_1.py.snap b/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W292_W292_1.py.snap deleted file mode 100644 index 803588cfbe..0000000000 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W292_W292_1.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pycodestyle/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W292_W292_2.py.snap b/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W292_W292_2.py.snap deleted file mode 100644 index 803588cfbe..0000000000 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W292_W292_2.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pycodestyle/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W292_W292_3.py.snap b/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W292_W292_3.py.snap deleted file mode 100644 index 803588cfbe..0000000000 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W292_W292_3.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pycodestyle/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__task_tags_true.snap b/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__task_tags_true.snap deleted file mode 100644 index 803588cfbe..0000000000 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__task_tags_true.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pycodestyle/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E401_E40.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E401_E40.py.snap similarity index 70% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E401_E40.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E401_E40.py.snap index 175afe49ba..2cf3822010 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E401_E40.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E401_E40.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: MultipleImportsOnOneLine: ~ diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E402_E40.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E402_E40.py.snap similarity index 87% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E402_E40.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E402_E40.py.snap index e344b1698e..5468e12db5 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E402_E40.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E402_E40.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: ModuleImportNotAtTopOfFile: ~ diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E402_E402.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E402_E402.py.snap similarity index 71% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E402_E402.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E402_E402.py.snap index 41f812f9a6..3e1165bcbb 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E402_E402.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E402_E402.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: ModuleImportNotAtTopOfFile: ~ diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E501_E501.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E501_E501.py.snap similarity index 92% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E501_E501.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E501_E501.py.snap index 03a7e399dc..3decd5f38b 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E501_E501.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E501_E501.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: LineTooLong: diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E711_E711.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E711_E711.py.snap similarity index 97% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E711_E711.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E711_E711.py.snap index aac03ed793..dabc28db9a 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E711_E711.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E711_E711.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: NoneComparison: Eq diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E712_E712.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E712_E712.py.snap similarity index 98% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E712_E712.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E712_E712.py.snap index 3b8d13c2bd..2bf07bf384 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E712_E712.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E712_E712.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: TrueFalseComparison: diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E713_E713.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E713_E713.py.snap similarity index 95% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E713_E713.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E713_E713.py.snap index 8671fe8ba5..ebc2ebbebb 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E713_E713.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E713_E713.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: NotInTest: ~ diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E714_E714.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E714_E714.py.snap similarity index 90% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E714_E714.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E714_E714.py.snap index 4b818f5ff6..330382888f 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E714_E714.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E714_E714.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: NotIsTest: ~ diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E721_E721.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E721_E721.py.snap similarity index 97% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E721_E721.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E721_E721.py.snap index 9b46ec8c4a..2d03d3d431 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E721_E721.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E721_E721.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: TypeComparison: ~ diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E722_E722.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E722_E722.py.snap similarity index 87% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E722_E722.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E722_E722.py.snap index f36ec0e935..392f38abf2 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E722_E722.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E722_E722.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: DoNotUseBareExcept: ~ diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E731_E731.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E731_E731.py.snap similarity index 93% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E731_E731.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E731_E731.py.snap index df7936cc64..ee8611c78c 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E731_E731.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E731_E731.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: DoNotAssignLambda: f diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E741_E741.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E741_E741.py.snap similarity index 98% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E741_E741.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E741_E741.py.snap index 199d6ea9d5..937b738912 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E741_E741.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E741_E741.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: AmbiguousVariableName: l diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E742_E742.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E742_E742.py.snap similarity index 86% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E742_E742.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E742_E742.py.snap index 01ec68ab6b..a9a7e0abfe 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E742_E742.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E742_E742.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: AmbiguousClassName: l diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E743_E743.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E743_E743.py.snap similarity index 87% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E743_E743.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E743_E743.py.snap index 3841cb1b24..c2956a2d2e 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E743_E743.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E743_E743.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: AmbiguousFunctionName: l diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E999_E999.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E999_E999.py.snap similarity index 75% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E999_E999.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E999_E999.py.snap index 4bad1a822c..7750c23630 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__E999_E999.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__E999_E999.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: SyntaxError: unindent does not match any outer indentation level diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W292_W292_0.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W292_W292_0.py.snap similarity index 80% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W292_W292_0.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W292_W292_0.py.snap index d83aa01884..7b107fbbc7 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W292_W292_0.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W292_W292_0.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: NoNewLineAtEndOfFile: ~ diff --git a/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W292_W292_1.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W292_W292_1.py.snap new file mode 100644 index 0000000000..ff4244b629 --- /dev/null +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W292_W292_1.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pycodestyle/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W292_W292_2.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W292_W292_2.py.snap new file mode 100644 index 0000000000..ff4244b629 --- /dev/null +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W292_W292_2.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pycodestyle/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W292_W292_3.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W292_W292_3.py.snap new file mode 100644 index 0000000000..ff4244b629 --- /dev/null +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W292_W292_3.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pycodestyle/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W292_W292_4.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W292_W292_4.py.snap similarity index 80% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W292_W292_4.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W292_W292_4.py.snap index 0e0b7153e9..14db14de77 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W292_W292_4.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W292_W292_4.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: NoNewLineAtEndOfFile: ~ diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W605_W605_0.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W605_W605_0.py.snap similarity index 94% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W605_W605_0.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W605_W605_0.py.snap index 6bb634b173..2751431b5a 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W605_W605_0.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W605_W605_0.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: InvalidEscapeSequence: "." diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W605_W605_1.py.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W605_W605_1.py.snap similarity index 94% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W605_W605_1.py.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W605_W605_1.py.snap index 6bb634b173..2751431b5a 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__W605_W605_1.py.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__W605_W605_1.py.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: InvalidEscapeSequence: "." diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__constant_literals.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__constant_literals.snap similarity index 97% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__constant_literals.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__constant_literals.snap index 88d35064ec..27a6ac5b4b 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__constant_literals.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__constant_literals.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: IsLiteral: Is diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__max_doc_length.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__max_doc_length.snap similarity index 94% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__max_doc_length.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__max_doc_length.snap index 452bda8595..fce4aa18f9 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__max_doc_length.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__max_doc_length.snap @@ -1,5 +1,5 @@ --- -source: src/pycodestyle/mod.rs +source: src/rules/pycodestyle/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__task_tags_false.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__task_tags_false.snap similarity index 93% rename from src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__task_tags_false.snap rename to src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__task_tags_false.snap index 050ba2dede..6b5898d738 100644 --- a/src/rules/pycodestyle/snapshots/ruff__pycodestyle__tests__task_tags_false.snap +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__task_tags_false.snap @@ -1,6 +1,6 @@ --- -source: src/pycodestyle/mod.rs -expression: checks +source: src/rules/pycodestyle/mod.rs +expression: diagnostics --- - kind: LineTooLong: diff --git a/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__task_tags_true.snap b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__task_tags_true.snap new file mode 100644 index 0000000000..ff4244b629 --- /dev/null +++ b/src/rules/pycodestyle/snapshots/ruff__rules__pycodestyle__tests__task_tags_true.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pycodestyle/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D104_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D104_D.py.snap deleted file mode 100644 index 71bd58e2bb..0000000000 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D104_D.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pydocstyle/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D106_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D106_D.py.snap deleted file mode 100644 index 71bd58e2bb..0000000000 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D106_D.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pydocstyle/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D206_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D206_D.py.snap deleted file mode 100644 index 71bd58e2bb..0000000000 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D206_D.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pydocstyle/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D403_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D403_D.py.snap deleted file mode 100644 index 71bd58e2bb..0000000000 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D403_D.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pydocstyle/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D404_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D404_D.py.snap deleted file mode 100644 index 71bd58e2bb..0000000000 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D404_D.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pydocstyle/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D413_sections.py.snap b/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D413_sections.py.snap deleted file mode 100644 index 71bd58e2bb..0000000000 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D413_sections.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pydocstyle/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D416_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D416_D.py.snap deleted file mode 100644 index 71bd58e2bb..0000000000 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D416_D.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pydocstyle/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D417_canonical_google_examples.py.snap b/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D417_canonical_google_examples.py.snap deleted file mode 100644 index 71bd58e2bb..0000000000 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D417_canonical_google_examples.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pydocstyle/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D417_canonical_numpy_examples.py.snap b/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D417_canonical_numpy_examples.py.snap deleted file mode 100644 index 71bd58e2bb..0000000000 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D417_canonical_numpy_examples.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pydocstyle/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__d417_numpy.snap b/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__d417_numpy.snap deleted file mode 100644 index 71bd58e2bb..0000000000 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__d417_numpy.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pydocstyle/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D100_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D100_D.py.snap similarity index 69% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D100_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D100_D.py.snap index 304fdc4d3a..9b7e29c356 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D100_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D100_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: PublicModule: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D101_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D101_D.py.snap similarity index 69% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D101_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D101_D.py.snap index 54deefab94..74e0bfbeb8 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D101_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D101_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: PublicClass: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D102_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D102_D.py.snap similarity index 86% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D102_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D102_D.py.snap index 5f1aa6e9b8..3e3075ed64 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D102_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D102_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: PublicMethod: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D103_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D103_D.py.snap similarity index 70% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D103_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D103_D.py.snap index 0da3e9ee6b..27c8fc1864 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D103_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D103_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: PublicFunction: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D104_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D104_D.py.snap new file mode 100644 index 0000000000..9c3ea66b0e --- /dev/null +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D104_D.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pydocstyle/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D104_D104____init__.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D104_D104____init__.py.snap similarity index 69% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D104_D104____init__.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D104_D104____init__.py.snap index c7ebba2c7b..54aeda7e9b 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D104_D104____init__.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D104_D104____init__.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: PublicPackage: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D105_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D105_D.py.snap similarity index 69% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D105_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D105_D.py.snap index 4c653b4b2d..982b6a5aa9 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D105_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D105_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: MagicMethod: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D106_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D106_D.py.snap new file mode 100644 index 0000000000..9c3ea66b0e --- /dev/null +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D106_D.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pydocstyle/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D107_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D107_D.py.snap similarity index 81% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D107_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D107_D.py.snap index 06a5abc3b8..1e22eddc2b 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D107_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D107_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: PublicInit: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D201_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D201_D.py.snap similarity index 94% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D201_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D201_D.py.snap index 3a7e6d3eb1..6df064e6c3 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D201_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D201_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: NoBlankLineBeforeFunction: 1 diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D202_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D202_D.py.snap similarity index 94% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D202_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D202_D.py.snap index 915a18d6e8..1dcc8acf53 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D202_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D202_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: NoBlankLineAfterFunction: 1 diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D203_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D203_D.py.snap similarity index 92% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D203_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D203_D.py.snap index 4255214a4b..f678c81718 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D203_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D203_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: OneBlankLineBeforeClass: 0 diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D204_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D204_D.py.snap similarity index 89% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D204_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D204_D.py.snap index fd575ca1c1..0e4d589e95 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D204_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D204_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: OneBlankLineAfterClass: 0 diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D205_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D205_D.py.snap similarity index 86% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D205_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D205_D.py.snap index 47e90ed3ea..0155105897 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D205_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D205_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: BlankLineAfterSummary: 0 diff --git a/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D206_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D206_D.py.snap new file mode 100644 index 0000000000..9c3ea66b0e --- /dev/null +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D206_D.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pydocstyle/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D207_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D207_D.py.snap similarity index 94% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D207_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D207_D.py.snap index 37f6e9e3cc..02b559c714 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D207_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D207_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: NoUnderIndentation: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D208_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D208_D.py.snap similarity index 92% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D208_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D208_D.py.snap index acc19a5626..05c664b8be 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D208_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D208_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: NoOverIndentation: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D209_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D209_D.py.snap similarity index 81% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D209_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D209_D.py.snap index 699c5f2382..1f181226e8 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D209_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D209_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: NewLineAfterLastParagraph: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D210_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D210_D.py.snap similarity index 94% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D210_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D210_D.py.snap index 056f16b9d8..ce82a01a53 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D210_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D210_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: NoSurroundingWhitespace: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D211_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D211_D.py.snap similarity index 89% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D211_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D211_D.py.snap index e424246c4f..dc51c51437 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D211_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D211_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: NoBlankLineBeforeClass: 1 diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D212_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D212_D.py.snap similarity index 71% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D212_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D212_D.py.snap index 4bfe09762a..67a5453e61 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D212_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D212_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: MultiLineSummaryFirstLine: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D213_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D213_D.py.snap similarity index 97% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D213_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D213_D.py.snap index 498f7f47a6..c57ecbdd0f 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D213_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D213_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: MultiLineSummarySecondLine: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D214_sections.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D214_sections.py.snap similarity index 81% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D214_sections.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D214_sections.py.snap index 5087c7a4f8..09aa27c3ce 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D214_sections.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D214_sections.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: SectionNotOverIndented: Returns diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D215_sections.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D215_sections.py.snap similarity index 90% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D215_sections.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D215_sections.py.snap index 813fafb7da..6bad325409 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D215_sections.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D215_sections.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: SectionUnderlineNotOverIndented: Returns diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D300_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D300_D.py.snap similarity index 91% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D300_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D300_D.py.snap index 3afc97c842..48565cfb87 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D300_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D300_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: UsesTripleQuotes: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D301_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D301_D.py.snap similarity index 88% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D301_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D301_D.py.snap index 5993d8d87d..bb8760d3b5 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D301_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D301_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: UsesRPrefixForBackslashedContent: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D400_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D400_D.py.snap similarity index 98% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D400_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D400_D.py.snap index ac7ef819f6..cd8dff92e5 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D400_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D400_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: EndsInPeriod: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D400_D400.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D400_D400.py.snap similarity index 97% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D400_D400.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D400_D400.py.snap index e90aaf51ab..ac945c4857 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D400_D400.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D400_D400.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: EndsInPeriod: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D402_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D402_D.py.snap similarity index 70% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D402_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D402_D.py.snap index 6b51f8ac29..2bcd62dea5 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D402_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D402_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: NoSignature: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D403_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D403_D.py.snap new file mode 100644 index 0000000000..9c3ea66b0e --- /dev/null +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D403_D.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pydocstyle/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D404_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D404_D.py.snap new file mode 100644 index 0000000000..9c3ea66b0e --- /dev/null +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D404_D.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pydocstyle/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D405_sections.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D405_sections.py.snap similarity index 89% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D405_sections.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D405_sections.py.snap index a0f5722cd6..c85faffad4 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D405_sections.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D405_sections.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: CapitalizeSectionName: returns diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D406_sections.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D406_sections.py.snap similarity index 94% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D406_sections.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D406_sections.py.snap index bf721ef145..5e68eb4d33 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D406_sections.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D406_sections.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: NewLineAfterSectionName: Returns diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D407_sections.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D407_sections.py.snap similarity index 98% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D407_sections.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D407_sections.py.snap index f475ef7d44..549a8bb2ce 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D407_sections.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D407_sections.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: DashedUnderlineAfterSection: Returns diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D408_sections.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D408_sections.py.snap similarity index 81% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D408_sections.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D408_sections.py.snap index 8c44a32442..16a8b8d75b 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D408_sections.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D408_sections.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: SectionUnderlineAfterName: Returns diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D409_sections.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D409_sections.py.snap similarity index 90% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D409_sections.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D409_sections.py.snap index b404a07581..96b0a24821 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D409_sections.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D409_sections.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: SectionUnderlineMatchesSectionLength: Returns diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D410_sections.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D410_sections.py.snap similarity index 89% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D410_sections.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D410_sections.py.snap index ca00e3be12..2b31b736e8 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D410_sections.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D410_sections.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: BlankLineAfterSection: Returns diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D411_sections.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D411_sections.py.snap similarity index 92% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D411_sections.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D411_sections.py.snap index fae20a09e1..10f3e328f6 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D411_sections.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D411_sections.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: BlankLineBeforeSection: Yields diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D412_sections.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D412_sections.py.snap similarity index 82% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D412_sections.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D412_sections.py.snap index caf428a225..17785411eb 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D412_sections.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D412_sections.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: NoBlankLinesBetweenHeaderAndContent: Short summary diff --git a/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D413_sections.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D413_sections.py.snap new file mode 100644 index 0000000000..9c3ea66b0e --- /dev/null +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D413_sections.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pydocstyle/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D414_sections.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D414_sections.py.snap similarity index 92% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D414_sections.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D414_sections.py.snap index f5cc7fc4b6..8d228b54ed 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D414_sections.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D414_sections.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: NonEmptySection: Returns diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D415_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D415_D.py.snap similarity index 98% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D415_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D415_D.py.snap index 417a39f1b9..63aecb0f7d 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D415_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D415_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: EndsInPunctuation: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D416_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D416_D.py.snap new file mode 100644 index 0000000000..9c3ea66b0e --- /dev/null +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D416_D.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pydocstyle/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D417_canonical_google_examples.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D417_canonical_google_examples.py.snap new file mode 100644 index 0000000000..9c3ea66b0e --- /dev/null +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D417_canonical_google_examples.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pydocstyle/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D417_canonical_numpy_examples.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D417_canonical_numpy_examples.py.snap new file mode 100644 index 0000000000..9c3ea66b0e --- /dev/null +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D417_canonical_numpy_examples.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pydocstyle/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D417_sections.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D417_sections.py.snap similarity index 96% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D417_sections.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D417_sections.py.snap index c15c5a3c4a..df4bcd2248 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D417_sections.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D417_sections.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: DocumentAllArguments: diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D418_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D418_D.py.snap similarity index 87% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D418_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D418_D.py.snap index 93cfd4b4be..f6be1fdcb9 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D418_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D418_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: SkipDocstring: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D419_D.py.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D419_D.py.snap similarity index 86% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D419_D.py.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D419_D.py.snap index 0691b1135a..e68e464e71 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__D419_D.py.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__D419_D.py.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: NonEmpty: ~ diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__d417_google.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__d417_google.snap similarity index 95% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__d417_google.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__d417_google.snap index a8048157c5..39101762b9 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__d417_google.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__d417_google.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: DocumentAllArguments: diff --git a/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__d417_numpy.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__d417_numpy.snap new file mode 100644 index 0000000000..9c3ea66b0e --- /dev/null +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__d417_numpy.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pydocstyle/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__d417_unspecified.snap b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__d417_unspecified.snap similarity index 92% rename from src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__d417_unspecified.snap rename to src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__d417_unspecified.snap index b60a2bd248..a3963ee0fd 100644 --- a/src/rules/pydocstyle/snapshots/ruff__pydocstyle__tests__d417_unspecified.snap +++ b/src/rules/pydocstyle/snapshots/ruff__rules__pydocstyle__tests__d417_unspecified.snap @@ -1,6 +1,6 @@ --- -source: src/pydocstyle/mod.rs -expression: checks +source: src/rules/pydocstyle/mod.rs +expression: diagnostics --- - kind: DocumentAllArguments: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_1.py.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_1.py.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_1.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_2.py.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_2.py.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_2.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_3.py.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_3.py.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_3.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_4.py.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_4.py.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_4.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F505_F504.py.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F505_F504.py.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F505_F504.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_10.py.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_10.py.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_10.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_11.py.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_11.py.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_11.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_13.py.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_13.py.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_13.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_14.py.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_14.py.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_14.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_18.py.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_18.py.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_18.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_19.py.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_19.py.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_19.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_20.py.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_20.py.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_20.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_7.py.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_7.py.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_7.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_9.py.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_9.py.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_9.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_6.py.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_6.py.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_6.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_8.pyi.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_8.pyi.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_8.pyi.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F841_F841_2.py.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F841_F841_2.py.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F841_F841_2.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__extra_builtins.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__extra_builtins.snap deleted file mode 100644 index d5a10f1b82..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__extra_builtins.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: diagnostics ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__init.snap b/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__init.snap deleted file mode 100644 index 43ccad66f9..0000000000 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__init.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyflakes/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_0.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_0.py.snap similarity index 97% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_0.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_0.py.snap index 7c6c04afa3..ac9b3925f5 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_0.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_0.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UnusedImport: diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_1.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_1.py.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_1.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_2.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_2.py.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_2.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_3.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_3.py.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_3.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_4.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_4.py.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_4.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_5.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_5.py.snap similarity index 94% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_5.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_5.py.snap index 1e67389f25..b3b1c08bf3 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_5.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_5.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UnusedImport: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_6.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_6.py.snap similarity index 97% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_6.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_6.py.snap index 56d9566e62..af3b1ab036 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_6.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_6.py.snap @@ -1,5 +1,5 @@ --- -source: src/pyflakes/mod.rs +source: src/rules/pyflakes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_7.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_7.py.snap similarity index 94% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_7.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_7.py.snap index 14f4a11ba7..055f3e2890 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F401_F401_7.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F401_F401_7.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UnusedImport: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F402_F402.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F402_F402.py.snap similarity index 84% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F402_F402.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F402_F402.py.snap index 9022b2e13a..68faa4d1e6 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F402_F402.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F402_F402.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: ImportShadowedByLoopVar: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F403_F403.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F403_F403.py.snap similarity index 82% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F403_F403.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F403_F403.py.snap index 51ae64ba24..952f196c16 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F403_F403.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F403_F403.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: ImportStarUsed: F634 diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F404_F404.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F404_F404.py.snap similarity index 70% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F404_F404.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F404_F404.py.snap index 5fd1374d36..fcbe88c0df 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F404_F404.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F404_F404.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: LateFutureImport: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F405_F405.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F405_F405.py.snap similarity index 85% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F405_F405.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F405_F405.py.snap index 71d354efb4..8ca899787e 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F405_F405.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F405_F405.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: ImportStarUsage: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F406_F406.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F406_F406.py.snap similarity index 83% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F406_F406.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F406_F406.py.snap index 61f7cf480c..7223a97f32 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F406_F406.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F406_F406.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: ImportStarNotPermitted: F634 diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F407_F407.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F407_F407.py.snap similarity index 74% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F407_F407.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F407_F407.py.snap index a28984516f..cdec9dbc6a 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F407_F407.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F407_F407.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: FutureFeatureNotDefined: non_existent_feature diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F501_F50x.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F501_F50x.py.snap similarity index 74% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F501_F50x.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F501_F50x.py.snap index abdfac207b..4f6eba7a16 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F501_F50x.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F501_F50x.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: PercentFormatInvalidFormat: incomplete format diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F502_F502.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F502_F502.py.snap similarity index 94% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F502_F502.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F502_F502.py.snap index 79d7ad307a..48b9840348 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F502_F502.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F502_F502.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: PercentFormatExpectedMapping: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F502_F50x.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F502_F50x.py.snap similarity index 72% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F502_F50x.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F502_F50x.py.snap index c1f251d39d..8f283dd1dc 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F502_F50x.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F502_F50x.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: PercentFormatExpectedMapping: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F503_F503.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F503_F503.py.snap similarity index 88% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F503_F503.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F503_F503.py.snap index 2f3a472fb1..accfb81962 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F503_F503.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F503_F503.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: PercentFormatExpectedSequence: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F503_F50x.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F503_F50x.py.snap similarity index 72% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F503_F50x.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F503_F50x.py.snap index 54a1d1169e..d1fe547aec 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F503_F50x.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F503_F50x.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: PercentFormatExpectedSequence: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F504_F504.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F504_F504.py.snap similarity index 93% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F504_F504.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F504_F504.py.snap index 240520fd7d..8779996786 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F504_F504.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F504_F504.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: PercentFormatExtraNamedArguments: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F504_F50x.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F504_F50x.py.snap similarity index 83% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F504_F50x.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F504_F50x.py.snap index 145ffb96fd..b9f9817e79 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F504_F50x.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F504_F50x.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: PercentFormatExtraNamedArguments: diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F505_F504.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F505_F504.py.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F505_F504.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F505_F50x.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F505_F50x.py.snap similarity index 73% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F505_F50x.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F505_F50x.py.snap index 848c8cf611..e0cd4905d2 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F505_F50x.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F505_F50x.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: PercentFormatMissingArgument: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F506_F50x.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F506_F50x.py.snap similarity index 88% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F506_F50x.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F506_F50x.py.snap index 9d55765154..ced932f60b 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F506_F50x.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F506_F50x.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: PercentFormatMixedPositionalAndNamed: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F507_F50x.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F507_F50x.py.snap similarity index 85% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F507_F50x.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F507_F50x.py.snap index 8d81b708d8..4e0778b81a 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F507_F50x.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F507_F50x.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: PercentFormatPositionalCountMismatch: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F508_F50x.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F508_F50x.py.snap similarity index 73% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F508_F50x.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F508_F50x.py.snap index 4257265b03..9310616150 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F508_F50x.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F508_F50x.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: PercentFormatStarRequiresSequence: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F509_F50x.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F509_F50x.py.snap similarity index 73% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F509_F50x.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F509_F50x.py.snap index 0a9a84b39c..a1c7a5ccdf 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F509_F50x.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F509_F50x.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: PercentFormatUnsupportedFormatCharacter: j diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F521_F521.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F521_F521.py.snap similarity index 95% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F521_F521.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F521_F521.py.snap index f0135b2e38..07339d3cdd 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F521_F521.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F521_F521.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: StringDotFormatInvalidFormat: "Single '{' encountered in format string" diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F522_F522.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F522_F522.py.snap similarity index 93% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F522_F522.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F522_F522.py.snap index ea1cb84f23..8be706219d 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F522_F522.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F522_F522.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: StringDotFormatExtraNamedArguments: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F523_F523.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F523_F523.py.snap similarity index 95% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F523_F523.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F523_F523.py.snap index 00ec896300..479aa2be9b 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F523_F523.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F523_F523.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: StringDotFormatExtraPositionalArguments: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F524_F524.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F524_F524.py.snap similarity index 94% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F524_F524.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F524_F524.py.snap index 697df2f12d..72690669b1 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F524_F524.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F524_F524.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: StringDotFormatMissingArguments: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F525_F525.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F525_F525.py.snap similarity index 83% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F525_F525.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F525_F525.py.snap index bfc2809566..f84ebddd9b 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F525_F525.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F525_F525.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: StringDotFormatMixingAutomatic: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F541_F541.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F541_F541.py.snap similarity index 97% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F541_F541.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F541_F541.py.snap index 3c839edc6b..d1748b71d4 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F541_F541.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F541_F541.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: FStringMissingPlaceholders: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F601_F601.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F601_F601.py.snap similarity index 98% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F601_F601.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F601_F601.py.snap index 448ce23301..bb0856a693 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F601_F601.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F601_F601.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: MultiValueRepeatedKeyLiteral: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F602_F602.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F602_F602.py.snap similarity index 98% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F602_F602.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F602_F602.py.snap index a1de35bfbc..e128f4eb6d 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F602_F602.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F602_F602.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: MultiValueRepeatedKeyVariable: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F622_F622.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F622_F622.py.snap similarity index 71% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F622_F622.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F622_F622.py.snap index b93cae4ae4..5349cd080d 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F622_F622.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F622_F622.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: TwoStarredExpressions: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F631_F631.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F631_F631.py.snap similarity index 81% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F631_F631.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F631_F631.py.snap index 741ed93a37..9a92b8fd6b 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F631_F631.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F631_F631.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: AssertTuple: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F632_F632.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F632_F632.py.snap similarity index 96% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F632_F632.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F632_F632.py.snap index 4c8b5e1317..6a6f8c5ea5 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F632_F632.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F632_F632.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: IsLiteral: Is diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F633_F633.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F633_F633.py.snap similarity index 71% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F633_F633.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F633_F633.py.snap index 8e726bbbfd..7dd8fed6de 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F633_F633.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F633_F633.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: InvalidPrintSyntax: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F634_F634.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F634_F634.py.snap similarity index 81% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F634_F634.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F634_F634.py.snap index 8f197141a7..ef1160d8ae 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F634_F634.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F634_F634.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: IfTuple: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F701_F701.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F701_F701.py.snap similarity index 90% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F701_F701.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F701_F701.py.snap index 7a42c8669f..1dc95f893e 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F701_F701.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F701_F701.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: BreakOutsideLoop: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F702_F702.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F702_F702.py.snap similarity index 90% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F702_F702.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F702_F702.py.snap index e8645e7978..7cb35153ed 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F702_F702.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F702_F702.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: ContinueOutsideLoop: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F704_F704.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F704_F704.py.snap similarity index 90% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F704_F704.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F704_F704.py.snap index daaa10ce11..2e9136e4b1 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F704_F704.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F704_F704.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: YieldOutsideFunction: Yield diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F706_F706.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F706_F706.py.snap similarity index 82% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F706_F706.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F706_F706.py.snap index 4822f0869a..5f18d824d4 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F706_F706.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F706_F706.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: ReturnOutsideFunction: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F707_F707.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F707_F707.py.snap similarity index 87% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F707_F707.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F707_F707.py.snap index c8a87067d2..004b700238 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F707_F707.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F707_F707.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: DefaultExceptNotLast: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F722_F722.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F722_F722.py.snap similarity index 72% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F722_F722.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F722_F722.py.snap index d2b8f0100c..ab8eb985aa 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F722_F722.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F722_F722.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: ForwardAnnotationSyntaxError: /// diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_0.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_0.py.snap similarity index 74% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_0.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_0.py.snap index df9d132991..b6be3b882a 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_0.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_0.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: RedefinedWhileUnused: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_1.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_1.py.snap similarity index 73% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_1.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_1.py.snap index 34f8c66330..e7a4d1330f 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_1.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_1.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: RedefinedWhileUnused: diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_10.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_10.py.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_10.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_11.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_11.py.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_11.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_12.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_12.py.snap similarity index 74% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_12.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_12.py.snap index c8aabfdab1..c81b1a5625 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_12.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_12.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: RedefinedWhileUnused: diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_13.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_13.py.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_13.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_14.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_14.py.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_14.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_15.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_15.py.snap similarity index 73% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_15.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_15.py.snap index 9356f54ca7..b433379013 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_15.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_15.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: RedefinedWhileUnused: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_16.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_16.py.snap similarity index 73% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_16.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_16.py.snap index 4160d4f85d..fd145c9e0e 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_16.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_16.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: RedefinedWhileUnused: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_17.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_17.py.snap similarity index 84% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_17.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_17.py.snap index 5bc4a199d2..b2eba1bae0 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_17.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_17.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: RedefinedWhileUnused: diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_18.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_18.py.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_18.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_19.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_19.py.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_19.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_2.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_2.py.snap similarity index 73% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_2.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_2.py.snap index 5c32653c5e..0360b90f6d 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_2.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_2.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: RedefinedWhileUnused: diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_20.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_20.py.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_20.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_4.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_3.py.snap similarity index 73% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_4.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_3.py.snap index 4388be623c..ac56635f5a 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_4.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_3.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: RedefinedWhileUnused: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_3.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_4.py.snap similarity index 73% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_3.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_4.py.snap index 4388be623c..ac56635f5a 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_3.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_4.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: RedefinedWhileUnused: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_5.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_5.py.snap similarity index 73% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_5.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_5.py.snap index e14137e3c0..d8e5a8c68e 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_5.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_5.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: RedefinedWhileUnused: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_6.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_6.py.snap similarity index 73% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_6.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_6.py.snap index 33e5777ee2..eaee41a78c 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_6.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_6.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: RedefinedWhileUnused: diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_7.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_7.py.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_7.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_8.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_8.py.snap similarity index 73% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_8.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_8.py.snap index bcbe3f113e..ed6ad94018 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F811_F811_8.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_8.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: RedefinedWhileUnused: diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_9.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_9.py.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F811_F811_9.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_0.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_0.py.snap similarity index 96% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_0.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_0.py.snap index f4ecce6bb0..00894b4220 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_0.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_0.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UndefinedName: self diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_1.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_1.py.snap similarity index 90% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_1.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_1.py.snap index 62546c45c4..84eec73be7 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_1.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_1.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UndefinedName: Model diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_2.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_2.py.snap similarity index 71% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_2.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_2.py.snap index 18f846a678..0536c17690 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_2.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_2.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UndefinedName: Model diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_3.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_3.py.snap similarity index 82% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_3.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_3.py.snap index 153ad28670..92cf192fdb 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_3.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_3.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UndefinedName: key diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_4.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_4.py.snap similarity index 92% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_4.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_4.py.snap index 6575b5c1e0..11d051f97f 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_4.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_4.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UndefinedName: Model diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_5.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_5.py.snap similarity index 71% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_5.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_5.py.snap index 1db69a4129..68cc4aa5d0 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_5.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_5.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UndefinedName: InnerClass diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_6.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_6.py.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_6.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_7.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_7.py.snap similarity index 88% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_7.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_7.py.snap index 382eb96c71..f7e1f87b89 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F821_F821_7.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_7.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UndefinedName: Undefined diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_8.pyi.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_8.pyi.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F821_F821_8.pyi.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F822_F822.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F822_F822.py.snap similarity index 70% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F822_F822.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F822_F822.py.snap index e1610dc2e3..047da089d6 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F822_F822.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F822_F822.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UndefinedExport: b diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F823_F823.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F823_F823.py.snap similarity index 71% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F823_F823.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F823_F823.py.snap index 24be61d926..33cdb29d16 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F823_F823.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F823_F823.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UndefinedLocal: my_var diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F841_F841_0.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F841_F841_0.py.snap similarity index 96% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F841_F841_0.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F841_F841_0.py.snap index c080f99ce2..25a5306db0 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F841_F841_0.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F841_F841_0.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UnusedVariable: e diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F841_F841_1.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F841_F841_1.py.snap similarity index 94% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F841_F841_1.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F841_F841_1.py.snap index 749f3ed63c..975214f9f5 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F841_F841_1.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F841_F841_1.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UnusedVariable: x diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F841_F841_2.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F841_F841_2.py.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F841_F841_2.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F841_F841_3.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F841_F841_3.py.snap similarity index 98% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F841_F841_3.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F841_F841_3.py.snap index 77ada5f19a..5a4d3317c5 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F841_F841_3.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F841_F841_3.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UnusedVariable: x diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F842_F842.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F842_F842.py.snap similarity index 82% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F842_F842.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F842_F842.py.snap index 1a2e637ba5..60fb114a8d 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F842_F842.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F842_F842.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UnusedAnnotation: name diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F901_F901.py.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F901_F901.py.snap similarity index 90% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F901_F901.py.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F901_F901.py.snap index e11dddac6e..22318975b4 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__F901_F901.py.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__F901_F901.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: RaiseNotImplemented: ~ diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__default_builtins.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__default_builtins.snap similarity index 82% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__default_builtins.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__default_builtins.snap index 3169d15cf3..692818140b 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__default_builtins.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__default_builtins.snap @@ -1,5 +1,5 @@ --- -source: src/pyflakes/mod.rs +source: src/rules/pyflakes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__default_typing_modules.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__default_typing_modules.snap similarity index 82% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__default_typing_modules.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__default_typing_modules.snap index 7bc2c8eb11..0cc468270c 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__default_typing_modules.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__default_typing_modules.snap @@ -1,5 +1,5 @@ --- -source: src/pyflakes/mod.rs +source: src/rules/pyflakes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__extra_builtins.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__extra_builtins.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__extra_builtins.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__extra_typing_modules.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__extra_typing_modules.snap similarity index 83% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__extra_typing_modules.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__extra_typing_modules.snap index e715a5c7ca..f23693becc 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__extra_typing_modules.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__extra_typing_modules.snap @@ -1,5 +1,5 @@ --- -source: src/pyflakes/mod.rs +source: src/rules/pyflakes/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__f841_dummy_variable_rgx.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__f841_dummy_variable_rgx.snap similarity index 97% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__f841_dummy_variable_rgx.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__f841_dummy_variable_rgx.snap index 987dcd3da7..7b73d289c9 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__f841_dummy_variable_rgx.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__f841_dummy_variable_rgx.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UnusedVariable: e diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__future_annotations.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__future_annotations.snap similarity index 89% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__future_annotations.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__future_annotations.snap index a6ae0c77b6..5c63c1f5e3 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__future_annotations.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__future_annotations.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UnusedImport: diff --git a/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__init.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__init.snap new file mode 100644 index 0000000000..c9243cbdca --- /dev/null +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__init.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyflakes/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__multi_statement_lines.snap b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__multi_statement_lines.snap similarity index 98% rename from src/rules/pyflakes/snapshots/ruff__pyflakes__tests__multi_statement_lines.snap rename to src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__multi_statement_lines.snap index 23cddc0d67..c96bbf0632 100644 --- a/src/rules/pyflakes/snapshots/ruff__pyflakes__tests__multi_statement_lines.snap +++ b/src/rules/pyflakes/snapshots/ruff__rules__pyflakes__tests__multi_statement_lines.snap @@ -1,6 +1,6 @@ --- -source: src/pyflakes/mod.rs -expression: checks +source: src/rules/pyflakes/mod.rs +expression: diagnostics --- - kind: UnusedImport: diff --git a/src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH001_PGH001_1.py.snap b/src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH001_PGH001_1.py.snap deleted file mode 100644 index 68aa191216..0000000000 --- a/src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH001_PGH001_1.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pygrep_hooks/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH002_PGH002_0.py.snap b/src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH002_PGH002_0.py.snap deleted file mode 100644 index 68aa191216..0000000000 --- a/src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH002_PGH002_0.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pygrep_hooks/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH001_PGH001_0.py.snap b/src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH001_PGH001_0.py.snap similarity index 80% rename from src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH001_PGH001_0.py.snap rename to src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH001_PGH001_0.py.snap index 817fc8ecbc..f6071b5521 100644 --- a/src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH001_PGH001_0.py.snap +++ b/src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH001_PGH001_0.py.snap @@ -1,6 +1,6 @@ --- -source: src/pygrep_hooks/mod.rs -expression: checks +source: src/rules/pygrep_hooks/mod.rs +expression: diagnostics --- - kind: NoEval: ~ diff --git a/src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH001_PGH001_1.py.snap b/src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH001_PGH001_1.py.snap new file mode 100644 index 0000000000..78f68fce45 --- /dev/null +++ b/src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH001_PGH001_1.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pygrep_hooks/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH002_PGH002_0.py.snap b/src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH002_PGH002_0.py.snap new file mode 100644 index 0000000000..78f68fce45 --- /dev/null +++ b/src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH002_PGH002_0.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pygrep_hooks/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH002_PGH002_1.py.snap b/src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH002_PGH002_1.py.snap similarity index 88% rename from src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH002_PGH002_1.py.snap rename to src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH002_PGH002_1.py.snap index fb3887f292..cc6394ef9f 100644 --- a/src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH002_PGH002_1.py.snap +++ b/src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH002_PGH002_1.py.snap @@ -1,5 +1,5 @@ --- -source: src/pygrep_hooks/mod.rs +source: src/rules/pygrep_hooks/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH003_PGH003_0.py.snap b/src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH003_PGH003_0.py.snap similarity index 86% rename from src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH003_PGH003_0.py.snap rename to src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH003_PGH003_0.py.snap index 648f6c79ba..6887135fd4 100644 --- a/src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH003_PGH003_0.py.snap +++ b/src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH003_PGH003_0.py.snap @@ -1,6 +1,6 @@ --- -source: src/pygrep_hooks/mod.rs -expression: checks +source: src/rules/pygrep_hooks/mod.rs +expression: diagnostics --- - kind: BlanketTypeIgnore: ~ diff --git a/src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH004_PGH004_0.py.snap b/src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH004_PGH004_0.py.snap similarity index 92% rename from src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH004_PGH004_0.py.snap rename to src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH004_PGH004_0.py.snap index 8aab8e6f2a..43e505fd97 100644 --- a/src/rules/pygrep_hooks/snapshots/ruff__pygrep_hooks__tests__PGH004_PGH004_0.py.snap +++ b/src/rules/pygrep_hooks/snapshots/ruff__rules__pygrep_hooks__tests__PGH004_PGH004_0.py.snap @@ -1,6 +1,6 @@ --- -source: src/pygrep_hooks/mod.rs -expression: checks +source: src/rules/pygrep_hooks/mod.rs +expression: diagnostics --- - kind: BlanketNOQA: ~ diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLC0414_import_aliasing.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLC0414_import_aliasing.py.snap similarity index 97% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLC0414_import_aliasing.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLC0414_import_aliasing.py.snap index 25929dad51..39d1a7abd6 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLC0414_import_aliasing.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLC0414_import_aliasing.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: UselessImportAlias: ~ diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLC2201_misplaced_comparison_constant.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLC2201_misplaced_comparison_constant.py.snap similarity index 96% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLC2201_misplaced_comparison_constant.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLC2201_misplaced_comparison_constant.py.snap index 931bb3a539..36ee592bc8 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLC2201_misplaced_comparison_constant.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLC2201_misplaced_comparison_constant.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: MisplacedComparisonConstant: i >= 5 diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLC3002_unnecessary_direct_lambda_call.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLC3002_unnecessary_direct_lambda_call.py.snap similarity index 88% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLC3002_unnecessary_direct_lambda_call.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLC3002_unnecessary_direct_lambda_call.py.snap index ce62018426..37d5d7d964 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLC3002_unnecessary_direct_lambda_call.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLC3002_unnecessary_direct_lambda_call.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: UnnecessaryDirectLambdaCall: ~ diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLE0117_nonlocal_without_binding.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLE0117_nonlocal_without_binding.py.snap similarity index 88% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLE0117_nonlocal_without_binding.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLE0117_nonlocal_without_binding.py.snap index 62182b4349..b80e263443 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLE0117_nonlocal_without_binding.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLE0117_nonlocal_without_binding.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: NonlocalWithoutBinding: x diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLE0118_used_prior_global_declaration.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLE0118_used_prior_global_declaration.py.snap similarity index 97% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLE0118_used_prior_global_declaration.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLE0118_used_prior_global_declaration.py.snap index 4d5c0cc9c3..16ea3e31c0 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLE0118_used_prior_global_declaration.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLE0118_used_prior_global_declaration.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: UsedPriorGlobalDeclaration: diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLE1142_await_outside_async.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLE1142_await_outside_async.py.snap similarity index 83% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLE1142_await_outside_async.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLE1142_await_outside_async.py.snap index d15813d9d5..e07c4a8163 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLE1142_await_outside_async.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLE1142_await_outside_async.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: AwaitOutsideAsync: ~ diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR0133_constant_comparison.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR0133_constant_comparison.py.snap similarity index 98% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLR0133_constant_comparison.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR0133_constant_comparison.py.snap index 1f2e93a8dc..815ef7b081 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR0133_constant_comparison.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR0133_constant_comparison.py.snap @@ -1,5 +1,5 @@ --- -source: src/pylint/mod.rs +source: src/rules/pylint/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR0206_property_with_parameters.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR0206_property_with_parameters.py.snap similarity index 88% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLR0206_property_with_parameters.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR0206_property_with_parameters.py.snap index 22ad28afbd..996e3d1695 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR0206_property_with_parameters.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR0206_property_with_parameters.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: PropertyWithParameters: ~ diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR0402_import_aliasing.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR0402_import_aliasing.py.snap similarity index 85% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLR0402_import_aliasing.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR0402_import_aliasing.py.snap index fa03f8daf4..2db4ce11f7 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR0402_import_aliasing.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR0402_import_aliasing.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: ConsiderUsingFromImport: diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR1701_consider_merging_isinstance.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1701_consider_merging_isinstance.py.snap similarity index 95% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLR1701_consider_merging_isinstance.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1701_consider_merging_isinstance.py.snap index fe0240dafb..37b11c857b 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR1701_consider_merging_isinstance.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1701_consider_merging_isinstance.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: ConsiderMergingIsinstance: diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_0.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_0.py.snap similarity index 90% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_0.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_0.py.snap index c99b791922..76daa2c882 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_0.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_0.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: UseSysExit: exit diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_1.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_1.py.snap similarity index 94% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_1.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_1.py.snap index 365523e7e1..174db1b209 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_1.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_1.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: UseSysExit: exit diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_2.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_2.py.snap similarity index 94% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_2.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_2.py.snap index d72e3efbf9..653d6104a9 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_2.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_2.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: UseSysExit: exit diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_3.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_3.py.snap similarity index 89% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_3.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_3.py.snap index a3b3457265..73ac60b2a4 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_3.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_3.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: UseSysExit: quit diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_4.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_4.py.snap similarity index 94% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_4.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_4.py.snap index 7e01ad9755..cd7a4c1815 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_4.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_4.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: UseSysExit: exit diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_5.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_5.py.snap similarity index 89% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_5.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_5.py.snap index a3b3457265..73ac60b2a4 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_5.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_5.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: UseSysExit: quit diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_6.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_6.py.snap similarity index 82% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_6.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_6.py.snap index 3115c6b651..c093da9b90 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR1722_consider_using_sys_exit_6.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR1722_consider_using_sys_exit_6.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: UseSysExit: exit diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR2004_magic_value_comparison.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR2004_magic_value_comparison.py.snap similarity index 96% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLR2004_magic_value_comparison.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR2004_magic_value_comparison.py.snap index b6b01e2963..e0e92c2775 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLR2004_magic_value_comparison.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLR2004_magic_value_comparison.py.snap @@ -1,5 +1,5 @@ --- -source: src/pylint/mod.rs +source: src/rules/pylint/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLW0120_useless_else_on_loop.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLW0120_useless_else_on_loop.py.snap similarity index 94% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLW0120_useless_else_on_loop.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLW0120_useless_else_on_loop.py.snap index cdbe2b4d93..873ddb0643 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLW0120_useless_else_on_loop.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLW0120_useless_else_on_loop.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: UselessElseOnLoop: ~ diff --git a/src/rules/pylint/snapshots/ruff__pylint__tests__PLW0602_global_variable_not_assigned.py.snap b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLW0602_global_variable_not_assigned.py.snap similarity index 83% rename from src/rules/pylint/snapshots/ruff__pylint__tests__PLW0602_global_variable_not_assigned.py.snap rename to src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLW0602_global_variable_not_assigned.py.snap index 22943fb67f..fc8530d54c 100644 --- a/src/rules/pylint/snapshots/ruff__pylint__tests__PLW0602_global_variable_not_assigned.py.snap +++ b/src/rules/pylint/snapshots/ruff__rules__pylint__tests__PLW0602_global_variable_not_assigned.py.snap @@ -1,6 +1,6 @@ --- -source: src/pylint/mod.rs -expression: checks +source: src/rules/pylint/mod.rs +expression: diagnostics --- - kind: GlobalVariableNotAssigned: x diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP009_UP009_2.py.snap b/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP009_UP009_2.py.snap deleted file mode 100644 index 3d7dd185e1..0000000000 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP009_UP009_2.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyupgrade/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP009_UP009_3.py.snap b/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP009_UP009_3.py.snap deleted file mode 100644 index 3d7dd185e1..0000000000 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP009_UP009_3.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyupgrade/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP009_UP009_4.py.snap b/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP009_UP009_4.py.snap deleted file mode 100644 index 3d7dd185e1..0000000000 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP009_UP009_4.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyupgrade/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP011_UP011_1.py.snap b/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP011_UP011_1.py.snap deleted file mode 100644 index 3d7dd185e1..0000000000 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP011_UP011_1.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyupgrade/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP024_UP024_3.py.snap b/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP024_UP024_3.py.snap deleted file mode 100644 index ff56b7772a..0000000000 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP024_UP024_3.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyupgrade/mod.rs -expression: diagnostics ---- -[] - diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP028_UP028_1.py.snap b/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP028_UP028_1.py.snap deleted file mode 100644 index 3d7dd185e1..0000000000 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP028_UP028_1.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyupgrade/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP030_UP030_1.py.snap b/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP030_UP030_1.py.snap deleted file mode 100644 index ff56b7772a..0000000000 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP030_UP030_1.py.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/pyupgrade/mod.rs -expression: diagnostics ---- -[] - diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP001_UP001.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP001_UP001.py.snap similarity index 89% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP001_UP001.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP001_UP001.py.snap index 8c14c38cdc..903fb24feb 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP001_UP001.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP001_UP001.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: UselessMetaclassType: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP003_UP003.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP003_UP003.py.snap similarity index 95% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP003_UP003.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP003_UP003.py.snap index df69e23c46..984ef2ba69 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP003_UP003.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP003_UP003.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: TypeOfPrimitive: Str diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP004_UP004.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP004_UP004.py.snap similarity index 98% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP004_UP004.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP004_UP004.py.snap index d100593eb2..0b8994627f 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP004_UP004.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP004_UP004.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: UselessObjectInheritance: A diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP005_UP005.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP005_UP005.py.snap similarity index 95% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP005_UP005.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP005_UP005.py.snap index da699e5ea9..3e32bc8157 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP005_UP005.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP005_UP005.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: DeprecatedUnittestAlias: diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP006_UP006.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP006_UP006.py.snap similarity index 94% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP006_UP006.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP006_UP006.py.snap index 03380bbf53..1d3b16faa5 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP006_UP006.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP006_UP006.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: UsePEP585Annotation: List diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP007_UP007.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP007_UP007.py.snap similarity index 96% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP007_UP007.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP007_UP007.py.snap index bc40367740..7927be577f 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP007_UP007.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP007_UP007.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: UsePEP604Annotation: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP008_UP008.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP008_UP008.py.snap similarity index 95% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP008_UP008.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP008_UP008.py.snap index 162cbbff35..533a47acc0 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP008_UP008.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP008_UP008.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: SuperCallWithParameters: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP009_UP009_0.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP009_UP009_0.py.snap similarity index 81% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP009_UP009_0.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP009_UP009_0.py.snap index 33d15234b5..a8d2942fd8 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP009_UP009_0.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP009_UP009_0.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: PEP3120UnnecessaryCodingComment: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP009_UP009_1.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP009_UP009_1.py.snap similarity index 81% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP009_UP009_1.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP009_UP009_1.py.snap index e9dc184b38..9938db914e 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP009_UP009_1.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP009_UP009_1.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: PEP3120UnnecessaryCodingComment: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP009_UP009_2.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP009_UP009_2.py.snap new file mode 100644 index 0000000000..ca9e52f5c5 --- /dev/null +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP009_UP009_2.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyupgrade/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP009_UP009_3.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP009_UP009_3.py.snap new file mode 100644 index 0000000000..ca9e52f5c5 --- /dev/null +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP009_UP009_3.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyupgrade/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP009_UP009_4.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP009_UP009_4.py.snap new file mode 100644 index 0000000000..ca9e52f5c5 --- /dev/null +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP009_UP009_4.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyupgrade/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP010_UP010.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP010_UP010.py.snap similarity index 97% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP010_UP010.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP010_UP010.py.snap index 882bee82f6..2952f65c40 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP010_UP010.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP010_UP010.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: UnnecessaryFutureImport: diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP011_UP011_0.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP011_UP011_0.py.snap similarity index 97% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP011_UP011_0.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP011_UP011_0.py.snap index e11e1d5c05..e096313c4a 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP011_UP011_0.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP011_UP011_0.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: UnnecessaryLRUCacheParams: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP011_UP011_1.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP011_UP011_1.py.snap new file mode 100644 index 0000000000..ca9e52f5c5 --- /dev/null +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP011_UP011_1.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyupgrade/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP012_UP012.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP012_UP012.py.snap similarity index 98% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP012_UP012.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP012_UP012.py.snap index 76a740ed0a..4091bf46af 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP012_UP012.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP012_UP012.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: UnnecessaryEncodeUTF8: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP013_UP013.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP013_UP013.py.snap similarity index 98% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP013_UP013.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP013_UP013.py.snap index b50ef10f77..a44e192dc8 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP013_UP013.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP013_UP013.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: ConvertTypedDictFunctionalToClass: MyType1 diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP014_UP014.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP014_UP014.py.snap similarity index 95% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP014_UP014.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP014_UP014.py.snap index f9aec12c5a..57853a097b 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP014_UP014.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP014_UP014.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: ConvertNamedTupleFunctionalToClass: NT1 diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP015_UP015.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP015_UP015.py.snap similarity index 99% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP015_UP015.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP015_UP015.py.snap index 5576a70205..a16bee83b5 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP015_UP015.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP015_UP015.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: RedundantOpenModes: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP016_UP016.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP016_UP016.py.snap similarity index 99% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP016_UP016.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP016_UP016.py.snap index 83f799b0a7..20e61f2eac 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP016_UP016.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP016_UP016.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: RemoveSixCompat: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP018_UP018.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP018_UP018.py.snap similarity index 96% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP018_UP018.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP018_UP018.py.snap index 6c7ff772bc..e541c069d2 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP018_UP018.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP018_UP018.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: NativeLiterals: Str diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP019_UP019.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP019_UP019.py.snap similarity index 94% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP019_UP019.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP019_UP019.py.snap index ea9157c0d2..545d31b19d 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP019_UP019.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP019_UP019.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: TypingTextStrAlias: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP021_UP021.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP021_UP021.py.snap similarity index 94% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP021_UP021.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP021_UP021.py.snap index d5fbb98778..69c67392ba 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP021_UP021.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP021_UP021.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: ReplaceUniversalNewlines: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP022_UP022.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP022_UP022.py.snap similarity index 97% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP022_UP022.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP022_UP022.py.snap index 35036e9812..7e0e56d311 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP022_UP022.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP022_UP022.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: ReplaceStdoutStderr: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP023_UP023.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP023_UP023.py.snap similarity index 97% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP023_UP023.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP023_UP023.py.snap index d54cc1ac91..7864907069 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP023_UP023.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP023_UP023.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: RewriteCElementTree: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP024_UP024_0.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP024_UP024_0.py.snap similarity index 98% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP024_UP024_0.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP024_UP024_0.py.snap index 3b5035aeb8..f7bd3a0970 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP024_UP024_0.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP024_UP024_0.py.snap @@ -1,5 +1,5 @@ --- -source: src/pyupgrade/mod.rs +source: src/rules/pyupgrade/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP024_UP024_1.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP024_UP024_1.py.snap similarity index 92% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP024_UP024_1.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP024_UP024_1.py.snap index 1a0e49148d..b5f3e2feb6 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP024_UP024_1.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP024_UP024_1.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: OSErrorAlias: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP024_UP024_2.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP024_UP024_2.py.snap similarity index 98% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP024_UP024_2.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP024_UP024_2.py.snap index da619c0098..1aef8a813e 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP024_UP024_2.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP024_UP024_2.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: OSErrorAlias: socket.error diff --git a/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP024_UP024_3.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP024_UP024_3.py.snap new file mode 100644 index 0000000000..ca9e52f5c5 --- /dev/null +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP024_UP024_3.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyupgrade/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP025_UP025.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP025_UP025.py.snap similarity index 98% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP025_UP025.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP025_UP025.py.snap index 7bcba2bd67..bafaf102e7 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP025_UP025.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP025_UP025.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: RewriteUnicodeLiteral: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP026_UP026.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP026_UP026.py.snap similarity index 99% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP026_UP026.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP026_UP026.py.snap index 128c520705..a6ca601528 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP026_UP026.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP026_UP026.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: RewriteMockImport: Import diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP027_UP027.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP027_UP027.py.snap similarity index 95% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP027_UP027.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP027_UP027.py.snap index 1b113e1efc..063f948be6 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP027_UP027.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP027_UP027.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: RewriteListComprehension: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP028_UP028_0.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP028_UP028_0.py.snap similarity index 98% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP028_UP028_0.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP028_UP028_0.py.snap index 94ac2e3c50..3591e79124 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP028_UP028_0.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP028_UP028_0.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: RewriteYieldFrom: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP028_UP028_1.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP028_UP028_1.py.snap new file mode 100644 index 0000000000..ca9e52f5c5 --- /dev/null +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP028_UP028_1.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyupgrade/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP029_UP029.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP029_UP029.py.snap similarity index 94% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP029_UP029.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP029_UP029.py.snap index cc213cec13..6b466b59db 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP029_UP029.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP029_UP029.py.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: UnnecessaryBuiltinImport: diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP030_UP030_0.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP030_UP030_0.py.snap similarity index 98% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP030_UP030_0.py.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP030_UP030_0.py.snap index f8c5fa1ab1..0e734e5f80 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__UP030_UP030_0.py.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP030_UP030_0.py.snap @@ -1,5 +1,5 @@ --- -source: src/pyupgrade/mod.rs +source: src/rules/pyupgrade/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP030_UP030_1.py.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP030_UP030_1.py.snap new file mode 100644 index 0000000000..ca9e52f5c5 --- /dev/null +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__UP030_UP030_1.py.snap @@ -0,0 +1,6 @@ +--- +source: src/rules/pyupgrade/mod.rs +expression: diagnostics +--- +[] + diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__datetime_utc_alias_py311.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__datetime_utc_alias_py311.snap similarity index 95% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__datetime_utc_alias_py311.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__datetime_utc_alias_py311.snap index 26e908c8c8..7af7a565cf 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__datetime_utc_alias_py311.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__datetime_utc_alias_py311.snap @@ -1,5 +1,5 @@ --- -source: src/pyupgrade/mod.rs +source: src/rules/pyupgrade/mod.rs expression: diagnostics --- - kind: diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__future_annotations_pep_585_p37.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__future_annotations_pep_585_p37.snap similarity index 81% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__future_annotations_pep_585_p37.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__future_annotations_pep_585_p37.snap index c7e817817c..57619e0b4e 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__future_annotations_pep_585_p37.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__future_annotations_pep_585_p37.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: UsePEP585Annotation: List diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__future_annotations_pep_585_py310.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__future_annotations_pep_585_py310.snap similarity index 94% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__future_annotations_pep_585_py310.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__future_annotations_pep_585_py310.snap index 565faee13a..fce748d3a4 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__future_annotations_pep_585_py310.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__future_annotations_pep_585_py310.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: UsePEP585Annotation: List diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__future_annotations_pep_604_py310.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__future_annotations_pep_604_p37.snap similarity index 81% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__future_annotations_pep_604_py310.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__future_annotations_pep_604_p37.snap index e1ed149655..b9e1715c48 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__future_annotations_pep_604_py310.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__future_annotations_pep_604_p37.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: UsePEP604Annotation: ~ diff --git a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__future_annotations_pep_604_p37.snap b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__future_annotations_pep_604_py310.snap similarity index 81% rename from src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__future_annotations_pep_604_p37.snap rename to src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__future_annotations_pep_604_py310.snap index e1ed149655..b9e1715c48 100644 --- a/src/rules/pyupgrade/snapshots/ruff__pyupgrade__tests__future_annotations_pep_604_p37.snap +++ b/src/rules/pyupgrade/snapshots/ruff__rules__pyupgrade__tests__future_annotations_pep_604_py310.snap @@ -1,6 +1,6 @@ --- -source: src/pyupgrade/mod.rs -expression: checks +source: src/rules/pyupgrade/mod.rs +expression: diagnostics --- - kind: UsePEP604Annotation: ~ diff --git a/src/rules/ruff/snapshots/ruff__ruff__tests__flake8_noqa.snap b/src/rules/ruff/snapshots/ruff__ruff__tests__flake8_noqa.snap deleted file mode 100644 index 59c3408a31..0000000000 --- a/src/rules/ruff/snapshots/ruff__ruff__tests__flake8_noqa.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/ruff/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/ruff/snapshots/ruff__ruff__tests__redirects.snap b/src/rules/ruff/snapshots/ruff__ruff__tests__redirects.snap deleted file mode 100644 index 59c3408a31..0000000000 --- a/src/rules/ruff/snapshots/ruff__ruff__tests__redirects.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/ruff/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/ruff/snapshots/ruff__ruff__tests__ruff_noqa.snap b/src/rules/ruff/snapshots/ruff__ruff__tests__ruff_noqa.snap deleted file mode 100644 index 59c3408a31..0000000000 --- a/src/rules/ruff/snapshots/ruff__ruff__tests__ruff_noqa.snap +++ /dev/null @@ -1,6 +0,0 @@ ---- -source: src/ruff/mod.rs -expression: checks ---- -[] - diff --git a/src/rules/ruff/snapshots/ruff__ruff__tests__RUF004_RUF004.py.snap b/src/rules/ruff/snapshots/ruff__rules__ruff__tests__RUF004_RUF004.py.snap similarity index 89% rename from src/rules/ruff/snapshots/ruff__ruff__tests__RUF004_RUF004.py.snap rename to src/rules/ruff/snapshots/ruff__rules__ruff__tests__RUF004_RUF004.py.snap index 1446bf3e8e..3e2cbdd303 100644 --- a/src/rules/ruff/snapshots/ruff__ruff__tests__RUF004_RUF004.py.snap +++ b/src/rules/ruff/snapshots/ruff__rules__ruff__tests__RUF004_RUF004.py.snap @@ -1,6 +1,6 @@ --- -source: src/ruff/mod.rs -expression: checks +source: src/rules/ruff/mod.rs +expression: diagnostics --- - kind: KeywordArgumentBeforeStarArgument: kw diff --git a/src/rules/ruff/snapshots/ruff__ruff__tests__confusables.snap b/src/rules/ruff/snapshots/ruff__rules__ruff__tests__confusables.snap similarity index 93% rename from src/rules/ruff/snapshots/ruff__ruff__tests__confusables.snap rename to src/rules/ruff/snapshots/ruff__rules__ruff__tests__confusables.snap index 39a4aeae2f..07a2068bb2 100644 --- a/src/rules/ruff/snapshots/ruff__ruff__tests__confusables.snap +++ b/src/rules/ruff/snapshots/ruff__rules__ruff__tests__confusables.snap @@ -1,6 +1,6 @@ --- -source: src/ruff/mod.rs -expression: checks +source: src/rules/ruff/mod.rs +expression: diagnostics --- - kind: AmbiguousUnicodeCharacterString: diff --git a/src/rules/isort/snapshots/ruff__isort__tests__required_import_docstring_only.py.snap b/src/rules/ruff/snapshots/ruff__rules__ruff__tests__flake8_noqa.snap similarity index 54% rename from src/rules/isort/snapshots/ruff__isort__tests__required_import_docstring_only.py.snap rename to src/rules/ruff/snapshots/ruff__rules__ruff__tests__flake8_noqa.snap index b6554d2495..f0a9823935 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__required_import_docstring_only.py.snap +++ b/src/rules/ruff/snapshots/ruff__rules__ruff__tests__flake8_noqa.snap @@ -1,5 +1,5 @@ --- -source: src/isort/mod.rs +source: src/rules/ruff/mod.rs expression: diagnostics --- [] diff --git a/src/rules/isort/snapshots/ruff__isort__tests__combined_required_imports_docstring_only.py.snap b/src/rules/ruff/snapshots/ruff__rules__ruff__tests__redirects.snap similarity index 54% rename from src/rules/isort/snapshots/ruff__isort__tests__combined_required_imports_docstring_only.py.snap rename to src/rules/ruff/snapshots/ruff__rules__ruff__tests__redirects.snap index b6554d2495..f0a9823935 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__combined_required_imports_docstring_only.py.snap +++ b/src/rules/ruff/snapshots/ruff__rules__ruff__tests__redirects.snap @@ -1,5 +1,5 @@ --- -source: src/isort/mod.rs +source: src/rules/ruff/mod.rs expression: diagnostics --- [] diff --git a/src/rules/ruff/snapshots/ruff__ruff__tests__ruf100_0.snap b/src/rules/ruff/snapshots/ruff__rules__ruff__tests__ruf100_0.snap similarity index 98% rename from src/rules/ruff/snapshots/ruff__ruff__tests__ruf100_0.snap rename to src/rules/ruff/snapshots/ruff__rules__ruff__tests__ruf100_0.snap index 60a5bbf6c7..6fbe9032b5 100644 --- a/src/rules/ruff/snapshots/ruff__ruff__tests__ruf100_0.snap +++ b/src/rules/ruff/snapshots/ruff__rules__ruff__tests__ruf100_0.snap @@ -1,6 +1,6 @@ --- -source: src/ruff/mod.rs -expression: checks +source: src/rules/ruff/mod.rs +expression: diagnostics --- - kind: UnusedNOQA: ~ diff --git a/src/rules/ruff/snapshots/ruff__ruff__tests__ruf100_1.snap b/src/rules/ruff/snapshots/ruff__rules__ruff__tests__ruf100_1.snap similarity index 97% rename from src/rules/ruff/snapshots/ruff__ruff__tests__ruf100_1.snap rename to src/rules/ruff/snapshots/ruff__rules__ruff__tests__ruf100_1.snap index b1d9446df0..e4d3cfb509 100644 --- a/src/rules/ruff/snapshots/ruff__ruff__tests__ruf100_1.snap +++ b/src/rules/ruff/snapshots/ruff__rules__ruff__tests__ruf100_1.snap @@ -1,6 +1,6 @@ --- -source: src/ruff/mod.rs -expression: checks +source: src/rules/ruff/mod.rs +expression: diagnostics --- - kind: UnusedImport: diff --git a/src/rules/isort/snapshots/ruff__isort__tests__combined_required_imports_empty.py.snap b/src/rules/ruff/snapshots/ruff__rules__ruff__tests__ruff_noqa.snap similarity index 54% rename from src/rules/isort/snapshots/ruff__isort__tests__combined_required_imports_empty.py.snap rename to src/rules/ruff/snapshots/ruff__rules__ruff__tests__ruff_noqa.snap index b6554d2495..f0a9823935 100644 --- a/src/rules/isort/snapshots/ruff__isort__tests__combined_required_imports_empty.py.snap +++ b/src/rules/ruff/snapshots/ruff__rules__ruff__tests__ruff_noqa.snap @@ -1,5 +1,5 @@ --- -source: src/isort/mod.rs +source: src/rules/ruff/mod.rs expression: diagnostics --- []