From 12c11f9610d9f4e77c17855eaf27b8d04e36ece7 Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Tue, 17 Sep 2024 11:51:31 +0200 Subject: [PATCH] Discard changes to crates/ruff_python_formatter/src/lib.rs --- crates/ruff_python_formatter/src/lib.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/crates/ruff_python_formatter/src/lib.rs b/crates/ruff_python_formatter/src/lib.rs index ada297f0efa74..fcb512c63c16c 100644 --- a/crates/ruff_python_formatter/src/lib.rs +++ b/crates/ruff_python_formatter/src/lib.rs @@ -188,10 +188,14 @@ if True: #[test] fn quick_test() { let source = r#" -def foo(* - # comment - arg): - pass +def main() -> None: + if True: + some_very_long_variable_name_abcdefghijk = Foo() + some_very_long_variable_name_abcdefghijk = some_very_long_variable_name_abcdefghijk[ + some_very_long_variable_name_abcdefghijk.some_very_long_attribute_name + == "This is a very long string abcdefghijk" + ] + "#; let source_type = PySourceType::Python;