From c54588223dc9651184683a6841c39986b93453ec Mon Sep 17 00:00:00 2001 From: MillarHuang <86568204+MillarHuang@users.noreply.github.com> Date: Thu, 9 Jan 2025 17:24:43 +0100 Subject: [PATCH 01/13] Create test_trial.py --- test_trial.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test_trial.py diff --git a/test_trial.py b/test_trial.py new file mode 100644 index 0000000..030292b --- /dev/null +++ b/test_trial.py @@ -0,0 +1,4 @@ +def test_foo(): + + expected_foo_result = "Hello world!" + print(expected_foo_result) From 6b50541faae77aad3f8e6e5fd46a90dcbf4c2b1a Mon Sep 17 00:00:00 2001 From: MillarHuang <86568204+MillarHuang@users.noreply.github.com> Date: Thu, 9 Jan 2025 17:31:14 +0100 Subject: [PATCH 02/13] Update test_trial.py --- test_trial.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test_trial.py b/test_trial.py index 030292b..f305334 100644 --- a/test_trial.py +++ b/test_trial.py @@ -2,3 +2,4 @@ def test_foo(): expected_foo_result = "Hello world!" print(expected_foo_result) + print(1) From 1ee362ed9b5177432d98ee5bed1b35a3143893ba Mon Sep 17 00:00:00 2001 From: MillarHuang <86568204+MillarHuang@users.noreply.github.com> Date: Thu, 9 Jan 2025 17:35:04 +0100 Subject: [PATCH 03/13] Update test_trial.py --- test_trial.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_trial.py b/test_trial.py index f305334..6a98849 100644 --- a/test_trial.py +++ b/test_trial.py @@ -3,3 +3,6 @@ def test_foo(): expected_foo_result = "Hello world!" print(expected_foo_result) print(1) + +def test_two() +print("hello") From 078f3fe613ddc39b654cb58fb7cc2c92e89f3584 Mon Sep 17 00:00:00 2001 From: MillarHuang <86568204+MillarHuang@users.noreply.github.com> Date: Thu, 9 Jan 2025 17:46:13 +0100 Subject: [PATCH 04/13] Update test_trial.py --- test_trial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_trial.py b/test_trial.py index 6a98849..8a07441 100644 --- a/test_trial.py +++ b/test_trial.py @@ -4,5 +4,5 @@ def test_foo(): print(expected_foo_result) print(1) -def test_two() +def test_two(): print("hello") From 6a1aa7a549e1c902651f4c3043c5b300a28405cb Mon Sep 17 00:00:00 2001 From: MillarHuang <86568204+MillarHuang@users.noreply.github.com> Date: Thu, 9 Jan 2025 17:51:39 +0100 Subject: [PATCH 05/13] Delete .github/workflows/superlinter.yml --- .github/workflows/superlinter.yml | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 .github/workflows/superlinter.yml diff --git a/.github/workflows/superlinter.yml b/.github/workflows/superlinter.yml deleted file mode 100644 index 561b170..0000000 --- a/.github/workflows/superlinter.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: Super-Linter - -on: push - -jobs: - super-lint: - name: Lint code base - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Run Super-Linter - uses: github/super-linter@v4 - env: - DEFAULT_BRANCH: main - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 9fc48975b971b285390535a555427f485092dfa1 Mon Sep 17 00:00:00 2001 From: MillarHuang <86568204+MillarHuang@users.noreply.github.com> Date: Thu, 9 Jan 2025 17:52:18 +0100 Subject: [PATCH 06/13] Create Super-Linter --- .github/workflows/Super-Linter | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/Super-Linter diff --git a/.github/workflows/Super-Linter b/.github/workflows/Super-Linter new file mode 100644 index 0000000..561b170 --- /dev/null +++ b/.github/workflows/Super-Linter @@ -0,0 +1,17 @@ +name: Super-Linter + +on: push + +jobs: + super-lint: + name: Lint code base + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Run Super-Linter + uses: github/super-linter@v4 + env: + DEFAULT_BRANCH: main + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From ad52d2a370ff0cd2c336270405bf46984a461c32 Mon Sep 17 00:00:00 2001 From: MillarHuang <86568204+MillarHuang@users.noreply.github.com> Date: Thu, 9 Jan 2025 17:57:10 +0100 Subject: [PATCH 07/13] Update test_trial.py --- test_trial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_trial.py b/test_trial.py index 8a07441..6c71104 100644 --- a/test_trial.py +++ b/test_trial.py @@ -5,4 +5,4 @@ def test_foo(): print(1) def test_two(): -print("hello") + print("hello") From 8eb5d2cae0222b7be398749d82cf1c4e6b139c17 Mon Sep 17 00:00:00 2001 From: MillarHuang <86568204+MillarHuang@users.noreply.github.com> Date: Thu, 9 Jan 2025 17:57:57 +0100 Subject: [PATCH 08/13] Rename Super-Linter to Super-Linter.yml --- .github/workflows/{Super-Linter => Super-Linter.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{Super-Linter => Super-Linter.yml} (100%) diff --git a/.github/workflows/Super-Linter b/.github/workflows/Super-Linter.yml similarity index 100% rename from .github/workflows/Super-Linter rename to .github/workflows/Super-Linter.yml From d91b6b36e2496f13165742451ed0d3a58ec71ec7 Mon Sep 17 00:00:00 2001 From: MillarHuang <86568204+MillarHuang@users.noreply.github.com> Date: Thu, 9 Jan 2025 18:05:38 +0100 Subject: [PATCH 09/13] Delete test_trial.py --- test_trial.py | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 test_trial.py diff --git a/test_trial.py b/test_trial.py deleted file mode 100644 index 6c71104..0000000 --- a/test_trial.py +++ /dev/null @@ -1,8 +0,0 @@ -def test_foo(): - - expected_foo_result = "Hello world!" - print(expected_foo_result) - print(1) - -def test_two(): - print("hello") From 2d46dd475e18600b0b3b137385fe6ead356ea6eb Mon Sep 17 00:00:00 2001 From: MillarHuang Date: Thu, 9 Jan 2025 18:07:23 +0100 Subject: [PATCH 10/13] add a test file --- test_1.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test_1.py diff --git a/test_1.py b/test_1.py new file mode 100644 index 0000000..13e94b4 --- /dev/null +++ b/test_1.py @@ -0,0 +1,7 @@ +def hello(): + print("hi") +def bye() + print("bye") + + +print(hello()) \ No newline at end of file From a73af7228903e10e4e54bcdb3add85bdf45b58f9 Mon Sep 17 00:00:00 2001 From: MillarHuang <86568204+MillarHuang@users.noreply.github.com> Date: Thu, 9 Jan 2025 18:22:58 +0100 Subject: [PATCH 11/13] Update Super-Linter.yml --- .github/workflows/Super-Linter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Super-Linter.yml b/.github/workflows/Super-Linter.yml index 561b170..ea9e613 100644 --- a/.github/workflows/Super-Linter.yml +++ b/.github/workflows/Super-Linter.yml @@ -4,7 +4,7 @@ on: push jobs: super-lint: - name: Lint code base + name: super-lint runs-on: ubuntu-latest steps: - name: Checkout code From 780024c6e7c7afe496c499f266e57ec8696a020f Mon Sep 17 00:00:00 2001 From: MillarHuang Date: Thu, 9 Jan 2025 18:27:24 +0100 Subject: [PATCH 12/13] trial --- test_1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_1.py b/test_1.py index 13e94b4..cb2ac0f 100644 --- a/test_1.py +++ b/test_1.py @@ -1,7 +1,7 @@ def hello(): print("hi") def bye() - print("bye") +print("bye") print(hello()) \ No newline at end of file From b7c8c433b69b4709e5a7107bf23be94a2940782a Mon Sep 17 00:00:00 2001 From: MillarHuang Date: Thu, 9 Jan 2025 18:36:34 +0100 Subject: [PATCH 13/13] new test --- test_1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_1.py b/test_1.py index cb2ac0f..eaf9a73 100644 --- a/test_1.py +++ b/test_1.py @@ -1,7 +1,7 @@ def hello(): print("hi") def bye() -print("bye") + print("bye") print(hello()) \ No newline at end of file