From 2d4183332db55a990d7fef26c50add8c28ce760c Mon Sep 17 00:00:00 2001 From: Srijan Saurav <68371686+srijan-deepsource@users.noreply.github.com> Date: Thu, 28 Mar 2024 12:50:15 +0530 Subject: [PATCH 1/5] Update assignment.py --- assignment.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assignment.py b/assignment.py index 342485235..e8c791e9f 100644 --- a/assignment.py +++ b/assignment.py @@ -29,3 +29,5 @@ def untested_foo(): print("New line 8") print("New line 9") print("New line 10") + + From a9af474edd93f1718e433ae9f38771bd4f331947 Mon Sep 17 00:00:00 2001 From: "deepsource-dev-autofix[bot]" <61578317+deepsource-dev-autofix[bot]@users.noreply.github.com> Date: Thu, 28 Mar 2024 07:20:44 +0000 Subject: [PATCH 2/5] style: format code with Autopep8, Black, ISort, Ruff Formatter and Yapf This commit fixes the style issues introduced in 2d41833 according to the output from Autopep8, Black, ISort, Ruff Formatter and Yapf. Details: https://github.com/srijan-deepsource/demo-python/pull/71 --- assignment.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/assignment.py b/assignment.py index e8c791e9f..342485235 100644 --- a/assignment.py +++ b/assignment.py @@ -29,5 +29,3 @@ def untested_foo(): print("New line 8") print("New line 9") print("New line 10") - - From 6b8e0c5a60562ffe6717f5bbd79ec1c1ce486d9c Mon Sep 17 00:00:00 2001 From: Srijan Saurav <68371686+srijan-deepsource@users.noreply.github.com> Date: Thu, 28 Mar 2024 12:51:39 +0530 Subject: [PATCH 3/5] Update CI.yml --- .github/workflows/CI.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index c71720bf9..e1439dae5 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -30,8 +30,8 @@ jobs: pip install pytest-cov django pytest --cov=./ --cov-report=xml - - name: Report test coverage to DeepSource - run: | - curl https://deepsource.io/cli | sh - ./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml - ./bin/deepsource report --analyzer test-coverage --key javascript --value-file ./coverage.xml + # - name: Report test coverage to DeepSource + # run: | + # curl https://deepsource.io/cli | sh + # ./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml + # ./bin/deepsource report --analyzer test-coverage --key javascript --value-file ./coverage.xml From 64165b2282ce5fe7a34cf966602d941cdb74dc7e Mon Sep 17 00:00:00 2001 From: Srijan Saurav <68371686+srijan-deepsource@users.noreply.github.com> Date: Thu, 28 Mar 2024 12:59:17 +0530 Subject: [PATCH 4/5] Apply suggestions from code review --- .github/workflows/CI.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e1439dae5..9b76c5781 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -35,3 +35,4 @@ jobs: # curl https://deepsource.io/cli | sh # ./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml # ./bin/deepsource report --analyzer test-coverage --key javascript --value-file ./coverage.xml + From 91b3e1b7c288f6cda0127571b46aee9a4e101905 Mon Sep 17 00:00:00 2001 From: Srijan Saurav <68371686+srijan-deepsource@users.noreply.github.com> Date: Thu, 28 Mar 2024 13:35:37 +0530 Subject: [PATCH 5/5] Update .github/workflows/CI.yml --- .github/workflows/CI.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 9b76c5781..887213045 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -36,3 +36,5 @@ jobs: # ./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml # ./bin/deepsource report --analyzer test-coverage --key javascript --value-file ./coverage.xml + +