From 999bfc82324c7df2ed57ce1361797d2309c6219a Mon Sep 17 00:00:00 2001 From: harman0684 <144348839+harman0684@users.noreply.github.com> Date: Fri, 6 Jun 2025 14:14:28 +0530 Subject: [PATCH 01/32] Update demo.py --- demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo.py b/demo.py index 6a16b35..9d42fd9 100644 --- a/demo.py +++ b/demo.py @@ -2,6 +2,6 @@ def my_function(): a = 5 return a - +happy my_function() From 18167deeca4c5aa110f4ab32c048a71c6ab9602e Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Fri, 6 Jun 2025 14:28:47 +0530 Subject: [PATCH 02/32] added yoyo --- demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo.py b/demo.py index 9d42fd9..9447715 100644 --- a/demo.py +++ b/demo.py @@ -2,6 +2,6 @@ def my_function(): a = 5 return a -happy +yoyo my_function() From cb4583496d90c466261134d49f98343afcf35e72 Mon Sep 17 00:00:00 2001 From: harman0684 <144348839+harman0684@users.noreply.github.com> Date: Fri, 6 Jun 2025 14:45:20 +0530 Subject: [PATCH 03/32] Update demo.py --- demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo.py b/demo.py index 9447715..6a16b35 100644 --- a/demo.py +++ b/demo.py @@ -2,6 +2,6 @@ def my_function(): a = 5 return a -yoyo + my_function() From 5d29cb9835d368c1524d3a70e2ac32dc38c4f68c Mon Sep 17 00:00:00 2001 From: harman0684 <144348839+harman0684@users.noreply.github.com> Date: Wed, 11 Jun 2025 17:42:56 +0530 Subject: [PATCH 04/32] Delete .github directory --- .github/workflows/pylint.yml | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 .github/workflows/pylint.yml diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml deleted file mode 100644 index 26ecd31..0000000 --- a/.github/workflows/pylint.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Pylint - -on: [push] - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.10"] - steps: - - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install pylint - - name: Analysing the code with pylint - run: | - pylint $(git ls-files '*.py') From 3c44dfe8c00b7eb2876a0063c92d1fcb8e291531 Mon Sep 17 00:00:00 2001 From: harman0684 <144348839+harman0684@users.noreply.github.com> Date: Wed, 11 Jun 2025 18:53:20 +0530 Subject: [PATCH 05/32] Create pylint.yml --- .github/workflows/pylint.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/pylint.yml diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml new file mode 100644 index 0000000..c73e032 --- /dev/null +++ b/.github/workflows/pylint.yml @@ -0,0 +1,23 @@ +name: Pylint + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10"] + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylint + - name: Analysing the code with pylint + run: | + pylint $(git ls-files '*.py') From d4689c685a699a2864d7d00636c253aef0b24bdd Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Wed, 11 Jun 2025 19:25:20 +0530 Subject: [PATCH 06/32] added testing line --- .github/workflows/pylint.yml | 23 ----------------------- demo.py | 11 ++++++----- 2 files changed, 6 insertions(+), 28 deletions(-) delete mode 100644 .github/workflows/pylint.yml diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml deleted file mode 100644 index 26ecd31..0000000 --- a/.github/workflows/pylint.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Pylint - -on: [push] - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.10"] - steps: - - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install pylint - - name: Analysing the code with pylint - run: | - pylint $(git ls-files '*.py') diff --git a/demo.py b/demo.py index 6a16b35..cec4a0e 100644 --- a/demo.py +++ b/demo.py @@ -1,7 +1,8 @@ -def my_function(): +def hello(): + """ + this is demo + """ + return "hello dosto" - a = 5 - return a +hello - -my_function() From eba037ea1e8ded1085748eaa05415fdabce37c50 Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Wed, 11 Jun 2025 19:29:21 +0530 Subject: [PATCH 07/32] added line --- demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo.py b/demo.py index cec4a0e..ea7fc35 100644 --- a/demo.py +++ b/demo.py @@ -4,5 +4,5 @@ def hello(): """ return "hello dosto" -hello +hello From d789e712de2c15192fd71b155728d0f750843a16 Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Wed, 11 Jun 2025 19:30:46 +0530 Subject: [PATCH 08/32] added line --- demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo.py b/demo.py index ea7fc35..cec4a0e 100644 --- a/demo.py +++ b/demo.py @@ -4,5 +4,5 @@ def hello(): """ return "hello dosto" -hello +hello From e96cb9d00757454ee8ac1720b25c394686fb3439 Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Wed, 11 Jun 2025 19:31:35 +0530 Subject: [PATCH 09/32] added line --- demo.py | 1 - 1 file changed, 1 deletion(-) diff --git a/demo.py b/demo.py index cec4a0e..8f79a9d 100644 --- a/demo.py +++ b/demo.py @@ -5,4 +5,3 @@ def hello(): return "hello dosto" hello - From e343d8d35f25b7b06ca6559f764ea64a180050e0 Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Wed, 11 Jun 2025 19:32:52 +0530 Subject: [PATCH 10/32] added line --- demo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/demo.py b/demo.py index 8f79a9d..8bee3c9 100644 --- a/demo.py +++ b/demo.py @@ -4,4 +4,5 @@ def hello(): """ return "hello dosto" + hello From 7525dda40afa7338584632d5a18d6ef6f7d393bf Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Wed, 11 Jun 2025 19:33:59 +0530 Subject: [PATCH 11/32] added line --- demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo.py b/demo.py index 8bee3c9..431f37a 100644 --- a/demo.py +++ b/demo.py @@ -5,4 +5,4 @@ def hello(): return "hello dosto" -hello +hello() From c15d804fb444d4d765ac623fda7885b2089c8109 Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Thu, 12 Jun 2025 16:41:31 +0530 Subject: [PATCH 12/32] added --- testing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/testing.py b/testing.py index 44de8b7..f124c17 100644 --- a/testing.py +++ b/testing.py @@ -2,6 +2,7 @@ This module contains a simple hello function. """ + def hello(): """ This function returns a greeting message. From 9550433bbff0ee68d3669813197771cabfbe6678 Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Thu, 12 Jun 2025 17:36:54 +0530 Subject: [PATCH 13/32] new code --- demo.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/demo.py b/demo.py index 431f37a..9d77b55 100644 --- a/demo.py +++ b/demo.py @@ -1,8 +1,5 @@ def hello(): - """ - this is demo - """ + """Return a demo greeting message.""" # ← Proper function docstring return "hello dosto" - hello() From 62005efffe6b409f93680bc441393a21f91eb834 Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Thu, 12 Jun 2025 17:37:30 +0530 Subject: [PATCH 14/32] new code --- demo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/demo.py b/demo.py index 9d77b55..ccb0a1a 100644 --- a/demo.py +++ b/demo.py @@ -2,4 +2,5 @@ def hello(): """Return a demo greeting message.""" # ← Proper function docstring return "hello dosto" + hello() From aab1a801d01aa2b00dfa1aebb67ce8626ac18e52 Mon Sep 17 00:00:00 2001 From: harman0684 <144348839+harman0684@users.noreply.github.com> Date: Thu, 12 Jun 2025 19:08:17 +0530 Subject: [PATCH 15/32] Update demo.py --- demo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/demo.py b/demo.py index ccb0a1a..aa6ff52 100644 --- a/demo.py +++ b/demo.py @@ -1,4 +1,5 @@ def hello(): + """Return a demo greeting message.""" # ← Proper function docstring return "hello dosto" From a8e2b3ab6098ea29dc0335030f9406518e36c910 Mon Sep 17 00:00:00 2001 From: harman0684 <144348839+harman0684@users.noreply.github.com> Date: Thu, 12 Jun 2025 19:09:38 +0530 Subject: [PATCH 16/32] Update demo.py --- demo.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/demo.py b/demo.py index aa6ff52..bfe78a7 100644 --- a/demo.py +++ b/demo.py @@ -1,6 +1,5 @@ def hello(): - - """Return a demo greeting message.""" # ← Proper function docstring + """Return a demo greeting message.""" # ← Proper function docstring return "hello dosto" From 70829d4a0c27f51c7825c2da837907cc4edd39e6 Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Thu, 12 Jun 2025 19:35:25 +0530 Subject: [PATCH 17/32] new code 2 --- demo.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/demo.py b/demo.py index bfe78a7..a364ad2 100644 --- a/demo.py +++ b/demo.py @@ -1,6 +1,7 @@ +"""Demo module for hello function.""" + def hello(): - """Return a demo greeting message.""" # ← Proper function docstring + """Return a demo greeting message.""" return "hello dosto" - hello() From 63d555cf3d2a3e71903f9bc3bfc57f01f66fd60c Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Thu, 12 Jun 2025 19:36:58 +0530 Subject: [PATCH 18/32] new code 2 --- demo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/demo.py b/demo.py index a364ad2..76710f2 100644 --- a/demo.py +++ b/demo.py @@ -4,4 +4,5 @@ def hello(): """Return a demo greeting message.""" return "hello dosto" + hello() From 1ce6bfdaadb3569264ed302affa37302719f75ad Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Thu, 12 Jun 2025 19:37:30 +0530 Subject: [PATCH 19/32] new code 2 --- demo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/demo.py b/demo.py index 76710f2..915e82b 100644 --- a/demo.py +++ b/demo.py @@ -1,6 +1,7 @@ """Demo module for hello function.""" def hello(): + """Return a demo greeting message.""" return "hello dosto" From 0eb2781b379133930c4ced52a7a4f083d3021f69 Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Thu, 12 Jun 2025 19:38:02 +0530 Subject: [PATCH 20/32] new code 2 --- demo.py | 1 - 1 file changed, 1 deletion(-) diff --git a/demo.py b/demo.py index 915e82b..76710f2 100644 --- a/demo.py +++ b/demo.py @@ -1,7 +1,6 @@ """Demo module for hello function.""" def hello(): - """Return a demo greeting message.""" return "hello dosto" From 06b571d8d082d7aaf1f1590b8175e33b6c6cd4c4 Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Thu, 12 Jun 2025 19:38:27 +0530 Subject: [PATCH 21/32] new code 2 --- demo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/demo.py b/demo.py index 76710f2..eda0801 100644 --- a/demo.py +++ b/demo.py @@ -1,5 +1,6 @@ """Demo module for hello function.""" + def hello(): """Return a demo greeting message.""" return "hello dosto" From f8f44e8c24a459f014806c465251a44e80547f07 Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Fri, 13 Jun 2025 15:46:00 +0530 Subject: [PATCH 22/32] added new code --- demo.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/demo.py b/demo.py index eda0801..a065b7b 100644 --- a/demo.py +++ b/demo.py @@ -1,9 +1,7 @@ -"""Demo module for hello function.""" +def my_funtion(): + a = 5 + return a -def hello(): - """Return a demo greeting message.""" - return "hello dosto" - -hello() +my_funtion() From 0d26f75b36f9f0bd0e621aa457e55a228ac45eb4 Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Fri, 13 Jun 2025 15:55:00 +0530 Subject: [PATCH 23/32] added code --- demo.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/demo.py b/demo.py index a065b7b..a364ad2 100644 --- a/demo.py +++ b/demo.py @@ -1,7 +1,7 @@ -def my_funtion(): +"""Demo module for hello function.""" - a = 5 - return a +def hello(): + """Return a demo greeting message.""" + return "hello dosto" - -my_funtion() +hello() From 395010ddaef79c49c74ab9992df2833f1232da57 Mon Sep 17 00:00:00 2001 From: harman0684 <144348839+harman0684@users.noreply.github.com> Date: Fri, 13 Jun 2025 15:59:36 +0530 Subject: [PATCH 24/32] Update pylint.yml --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index c73e032..26ecd31 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.10"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} From 0f16ebfbba6da63b8e15fccaa210cbb7802b684b Mon Sep 17 00:00:00 2001 From: harman0684 <144348839+harman0684@users.noreply.github.com> Date: Fri, 13 Jun 2025 16:06:56 +0530 Subject: [PATCH 25/32] Update pylint.yml --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 26ecd31..df930db 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10"] + python-version: ["3.9", "3.10"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} From f5da88714a9082f85b6069fc7b081b2d5bcd25e6 Mon Sep 17 00:00:00 2001 From: harman0684 <144348839+harman0684@users.noreply.github.com> Date: Fri, 13 Jun 2025 16:09:34 +0530 Subject: [PATCH 26/32] Update pylint.yml --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index df930db..c73e032 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} From 57bbd1df8563606ca331bf6fc9899f05ecbe2658 Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Fri, 13 Jun 2025 16:22:25 +0530 Subject: [PATCH 27/32] added new blank line 7 --- demo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/demo.py b/demo.py index a364ad2..76710f2 100644 --- a/demo.py +++ b/demo.py @@ -4,4 +4,5 @@ def hello(): """Return a demo greeting message.""" return "hello dosto" + hello() From e2da86ff5c4cd2821e9b4662c4a138fb0181e249 Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Fri, 13 Jun 2025 16:23:02 +0530 Subject: [PATCH 28/32] added new blank line 7 --- demo.py | 1 - 1 file changed, 1 deletion(-) diff --git a/demo.py b/demo.py index 76710f2..a364ad2 100644 --- a/demo.py +++ b/demo.py @@ -4,5 +4,4 @@ def hello(): """Return a demo greeting message.""" return "hello dosto" - hello() From bd1da08397c671be43189e0f612c78d0e9982d25 Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Fri, 13 Jun 2025 16:23:33 +0530 Subject: [PATCH 29/32] added new blank line 7 --- demo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/demo.py b/demo.py index a364ad2..76710f2 100644 --- a/demo.py +++ b/demo.py @@ -4,4 +4,5 @@ def hello(): """Return a demo greeting message.""" return "hello dosto" + hello() From e715a250ce0f617eed16703628faab210900d6ce Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Fri, 13 Jun 2025 16:23:58 +0530 Subject: [PATCH 30/32] added new blank line 7 --- demo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/demo.py b/demo.py index 76710f2..eda0801 100644 --- a/demo.py +++ b/demo.py @@ -1,5 +1,6 @@ """Demo module for hello function.""" + def hello(): """Return a demo greeting message.""" return "hello dosto" From 0e2db79e534a33ef980466691becb2692801139e Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Fri, 13 Jun 2025 16:32:24 +0530 Subject: [PATCH 31/32] removed line after 4 --- testing.py | 1 - 1 file changed, 1 deletion(-) diff --git a/testing.py b/testing.py index f124c17..44de8b7 100644 --- a/testing.py +++ b/testing.py @@ -2,7 +2,6 @@ This module contains a simple hello function. """ - def hello(): """ This function returns a greeting message. From 020e67f41fd48727a4526c8ceaa025a546a6ba31 Mon Sep 17 00:00:00 2001 From: Your Nameharman0684 Date: Fri, 13 Jun 2025 16:33:24 +0530 Subject: [PATCH 32/32] removed line after 4 --- testing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/testing.py b/testing.py index 44de8b7..f124c17 100644 --- a/testing.py +++ b/testing.py @@ -2,6 +2,7 @@ This module contains a simple hello function. """ + def hello(): """ This function returns a greeting message.