From 5217b64d78c0e4fd39474da242aeb054cebbe4b2 Mon Sep 17 00:00:00 2001 From: Srijan Saurav <68371686+srijan-deepsource@users.noreply.github.com> Date: Wed, 22 Nov 2023 15:02:08 +0530 Subject: [PATCH 1/3] Update assignment.py --- assignment.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assignment.py b/assignment.py index 342485235..88f1d5ed6 100644 --- a/assignment.py +++ b/assignment.py @@ -29,3 +29,7 @@ def untested_foo(): print("New line 8") print("New line 9") print("New line 10") + + +breakpoint() +exec("onokgnm") From c5738c4a24153a4438c358a1cff772fd35ec998b Mon Sep 17 00:00:00 2001 From: "deepsource-dev-autofix[bot]" <61578317+deepsource-dev-autofix[bot]@users.noreply.github.com> Date: Wed, 22 Nov 2023 09:39:45 +0000 Subject: [PATCH 2/3] refactor: autofix issues in 1 file Resolved issues in assignment.py with DeepSource Autofix --- assignment.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/assignment.py b/assignment.py index 88f1d5ed6..e1479a3c0 100644 --- a/assignment.py +++ b/assignment.py @@ -29,7 +29,4 @@ def untested_foo(): print("New line 8") print("New line 9") print("New line 10") - - -breakpoint() exec("onokgnm") From 080ed4f2f266c557db3c11d461b66ede4ebe4d3d Mon Sep 17 00:00:00 2001 From: "deepsource-dev-autofix[bot]" <61578317+deepsource-dev-autofix[bot]@users.noreply.github.com> Date: Wed, 22 Nov 2023 09:39:57 +0000 Subject: [PATCH 3/3] style: format code with Autopep8, Black, ISort, Ruff Formatter and Yapf This commit fixes the style issues introduced in c5738c4 according to the output from Autopep8, Black, ISort, Ruff Formatter and Yapf. Details: https://github.com/srijan-deepsource/demo-python/pull/64 --- assignment.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assignment.py b/assignment.py index e1479a3c0..73f079446 100644 --- a/assignment.py +++ b/assignment.py @@ -29,4 +29,6 @@ def untested_foo(): print("New line 8") print("New line 9") print("New line 10") + + exec("onokgnm")