From aef5b1455f97b25e7592bac2ac5b09a8567d5a8d Mon Sep 17 00:00:00 2001 From: Shivaji Patil Date: Mon, 18 Aug 2025 13:44:59 +0530 Subject: [PATCH 1/9] test-file-added --- app/hello.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 app/hello.py diff --git a/app/hello.py b/app/hello.py new file mode 100644 index 0000000..6d95fe9 --- /dev/null +++ b/app/hello.py @@ -0,0 +1 @@ +print("Hello world") \ No newline at end of file From 054f4be7637dc50c04979cdd4de23bf1bade74e0 Mon Sep 17 00:00:00 2001 From: Shivaji Patil Date: Mon, 18 Aug 2025 13:56:14 +0530 Subject: [PATCH 2/9] update in hello.py --- app/hello.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/hello.py b/app/hello.py index 6d95fe9..e2f02bd 100644 --- a/app/hello.py +++ b/app/hello.py @@ -1 +1,2 @@ -print("Hello world") \ No newline at end of file +print("Hello world") +print("Hello world 2") \ No newline at end of file From c17f499dc11b8840114705e9966a7ca7b9164f2f Mon Sep 17 00:00:00 2001 From: Shivaji Patil Date: Mon, 18 Aug 2025 14:20:34 +0530 Subject: [PATCH 3/9] update 3 --- app/hello.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/hello.py b/app/hello.py index e2f02bd..1fd45ae 100644 --- a/app/hello.py +++ b/app/hello.py @@ -1,2 +1,3 @@ print("Hello world") -print("Hello world 2") \ No newline at end of file +print("Hello world 2") +print("Hello world 3") \ No newline at end of file From 133adf4be70297c153ced51701a688925cc3502d Mon Sep 17 00:00:00 2001 From: Shivaji Patil Date: Mon, 18 Aug 2025 14:27:46 +0530 Subject: [PATCH 4/9] test-pr-don't-merge --- app/hello.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/hello.py b/app/hello.py index 1fd45ae..5f4bc7b 100644 --- a/app/hello.py +++ b/app/hello.py @@ -1,3 +1,5 @@ print("Hello world") print("Hello world 2") -print("Hello world 3") \ No newline at end of file +print("Hello world 3") + +print("Test PR 2.1") \ No newline at end of file From f64eeff8e2c84a8fb038f16df0f0840f9c964e1f Mon Sep 17 00:00:00 2001 From: Shivaji Patil Date: Mon, 18 Aug 2025 14:35:12 +0530 Subject: [PATCH 5/9] update hello.py 2.2 --- app/hello.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/hello.py b/app/hello.py index 5f4bc7b..e8cb743 100644 --- a/app/hello.py +++ b/app/hello.py @@ -2,4 +2,5 @@ print("Hello world 2") print("Hello world 3") -print("Test PR 2.1") \ No newline at end of file +print("Test PR 2.1") +print("Test PR 2.2") \ No newline at end of file From 9e76ef5b194ad43cafb3720f6012152bd9a91258 Mon Sep 17 00:00:00 2001 From: Shivaji Patil Date: Mon, 18 Aug 2025 14:43:15 +0530 Subject: [PATCH 6/9] Update hello.py 2.3 --- app/hello.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/hello.py b/app/hello.py index e8cb743..998f535 100644 --- a/app/hello.py +++ b/app/hello.py @@ -3,4 +3,5 @@ print("Hello world 3") print("Test PR 2.1") -print("Test PR 2.2") \ No newline at end of file +print("Test PR 2.2") +print("Test PR 2.3") \ No newline at end of file From 5c929e8d37e9223ffaeaedb2bdc509b0b2c5406f Mon Sep 17 00:00:00 2001 From: Shivaji Patil Date: Mon, 18 Aug 2025 14:51:16 +0530 Subject: [PATCH 7/9] update 2.4 --- app/hello.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/hello.py b/app/hello.py index 998f535..8590efe 100644 --- a/app/hello.py +++ b/app/hello.py @@ -4,4 +4,5 @@ print("Test PR 2.1") print("Test PR 2.2") -print("Test PR 2.3") \ No newline at end of file +print("Test PR 2.3") +print("Test PR 2.4") \ No newline at end of file From 216bbaafaebefc2859b8dab866b89f813a81ef6a Mon Sep 17 00:00:00 2001 From: shivaji-dev1 Date: Thu, 21 Aug 2025 10:59:31 +0530 Subject: [PATCH 8/9] Update app/hello.py Co-authored-by: refacto-test[bot] <217047508+refacto-test[bot]@users.noreply.github.com> --- app/hello.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/hello.py b/app/hello.py index 8590efe..1278d45 100644 --- a/app/hello.py +++ b/app/hello.py @@ -1,8 +1,8 @@ -print("Hello world") -print("Hello world 2") -print("Hello world 3") +def print_messages(prefix, count): + for i in range(1, count + 1): + suffix = "" if i == 1 else f" {i}" + print(f"{prefix}{suffix}") -print("Test PR 2.1") -print("Test PR 2.2") -print("Test PR 2.3") -print("Test PR 2.4") \ No newline at end of file +print_messages("Hello world", 3) + +print_messages("Test PR 2", 4) \ No newline at end of file From 5af800f1a8c406814d40139a31e092c99ea30d36 Mon Sep 17 00:00:00 2001 From: shivaji-dev1 Date: Thu, 21 Aug 2025 16:07:57 +0530 Subject: [PATCH 9/9] Update app/hello.py Co-authored-by: refacto-test[bot] <217047508+refacto-test[bot]@users.noreply.github.com> --- app/hello.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/hello.py b/app/hello.py index 1278d45..e5d657f 100644 --- a/app/hello.py +++ b/app/hello.py @@ -1,7 +1,12 @@ def print_messages(prefix, count): for i in range(1, count + 1): suffix = "" if i == 1 else f" {i}" - print(f"{prefix}{suffix}") + try: + print(f"{prefix}{suffix}") + except IOError as e: + import sys + sys.stderr.write(f"Error writing to stdout: {e}\n") + break print_messages("Hello world", 3)