From 65922481a605a698af6c1af836778dee4c9b15c6 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Fri, 1 Mar 2024 07:20:59 +0000 Subject: [PATCH] Restyled by yapf --- yapf-test-0.py | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/yapf-test-0.py b/yapf-test-0.py index 9941de74..4ce75ab8 100644 --- a/yapf-test-0.py +++ b/yapf-test-0.py @@ -1,9 +1,19 @@ -import math, sys; +import math, sys + + def example1(): ####This is a long comment. This should be wrapped to fit within 72 characters. - some_tuple=( 1,2, 3,'a' ); - some_variable={'long':'Long code lines should be wrapped within 79 characters.', - 'other':[math.pi, 100,200,300,9876543210,'This is a long string that goes on'], - 'more':{'inner':'This whole logical line should be wrapped.',some_tuple:[1, - 20,300,40000,500000000,60000000000000000]}} + some_tuple = (1, 2, 3, 'a') + some_variable = { + 'long': + 'Long code lines should be wrapped within 79 characters.', + 'other': [ + math.pi, 100, 200, 300, 9876543210, + 'This is a long string that goes on' + ], + 'more': { + 'inner': 'This whole logical line should be wrapped.', + some_tuple: [1, 20, 300, 40000, 500000000, 60000000000000000] + } + } return (some_tuple, some_variable)