From edd8a16dd4baa3f08fcb6378f2fee81a3b82ae3e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Aug 2025 21:56:26 +0000 Subject: [PATCH 1/9] Bump slab from 1.8.0 to 1.8.2 Bumps [slab](https://github.com/DrMarc/slab) from 1.8.0 to 1.8.2. - [Release notes](https://github.com/DrMarc/slab/releases) - [Commits](https://github.com/DrMarc/slab/compare/v1.8.0...v1.8.2) --- updated-dependencies: - dependency-name: slab dependency-version: 1.8.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 7bd0da0fbcc..e34919567c8 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -100,7 +100,7 @@ pandas==2.3.1 pytest==8.4.1 qrcode==8.2 googletrans==4.0.2 -slab==1.8.0 +slab==1.8.2 psutil==7.0.0 mediapipe==0.10.21 rich==14.1.0 From fb07b8437250c2a7dd726200acacc606393ae42c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Aug 2025 00:41:00 +0000 Subject: [PATCH 2/9] Bump tornado from 6.5.1 to 6.5.2 Bumps [tornado](https://github.com/tornadoweb/tornado) from 6.5.1 to 6.5.2. - [Changelog](https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst) - [Commits](https://github.com/tornadoweb/tornado/compare/v6.5.1...v6.5.2) --- updated-dependencies: - dependency-name: tornado dependency-version: 6.5.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 7bd0da0fbcc..5a2269e943b 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -37,7 +37,7 @@ xlrd==2.0.2 fpdf==1.7.2 mysql-connector-repackaged==0.3.1 word2number==1.1 -tornado==6.5.1 +tornado==6.5.2 obs==0.0.0 todo==0.1 oauth2client==4.1.3 From f6da680316b1c7f276684aa8b8ae74537cc1b2c6 Mon Sep 17 00:00:00 2001 From: lighting9999 Date: Wed, 13 Aug 2025 12:59:57 +0800 Subject: [PATCH 3/9] Move the same python programs in the same directory --- .../Program of Reverse of any number.py | 0 .../Program to print table of given number.py | 0 .../Program to reverse Linked List( Recursive solution).py | 0 ...hon Program for Product of unique prime factors of a number.py | 0 .../Python Program for Tower of Hanoi.py | 0 .../Python Program for factorial of a number.py | 0 .../Python Program to Count the Number of Each Vowel.py | 0 ...ython Program to Display Fibonacci Sequence Using Recursion.py | 0 .../Python Program to Find LCM.py | 0 .../Python Program to Merge Mails.py | 0 .../Python Program to Print the Fibonacci sequence.py | 0 .../Python Program to Remove Punctuations from a String.py | 0 .../Python Program to Reverse a linked list.py | 0 .../Python Program to Sort Words in Alphabetic Order.py | 0 .../Python Program to Transpose a Matrix.py | 0 .../python program for finding square root for positive number.py | 0 16 files changed, 0 insertions(+), 0 deletions(-) rename Program of Reverse of any number.py => Python Programs/Program of Reverse of any number.py (100%) rename Program to print table of given number.py => Python Programs/Program to print table of given number.py (100%) rename Program to reverse Linked List( Recursive solution).py => Python Programs/Program to reverse Linked List( Recursive solution).py (100%) rename Python Program for Product of unique prime factors of a number.py => Python Programs/Python Program for Product of unique prime factors of a number.py (100%) rename Python Program for Tower of Hanoi.py => Python Programs/Python Program for Tower of Hanoi.py (100%) rename Python Program for factorial of a number.py => Python Programs/Python Program for factorial of a number.py (100%) rename Python Program to Count the Number of Each Vowel.py => Python Programs/Python Program to Count the Number of Each Vowel.py (100%) rename Python Program to Display Fibonacci Sequence Using Recursion.py => Python Programs/Python Program to Display Fibonacci Sequence Using Recursion.py (100%) rename Python Program to Find LCM.py => Python Programs/Python Program to Find LCM.py (100%) rename Python Program to Merge Mails.py => Python Programs/Python Program to Merge Mails.py (100%) rename Python Program to Print the Fibonacci sequence.py => Python Programs/Python Program to Print the Fibonacci sequence.py (100%) rename Python Program to Remove Punctuations from a String.py => Python Programs/Python Program to Remove Punctuations from a String.py (100%) rename Python Program to Reverse a linked list.py => Python Programs/Python Program to Reverse a linked list.py (100%) rename Python Program to Sort Words in Alphabetic Order.py => Python Programs/Python Program to Sort Words in Alphabetic Order.py (100%) rename Python Program to Transpose a Matrix.py => Python Programs/Python Program to Transpose a Matrix.py (100%) rename python program for finding square root for positive number.py => Python Programs/python program for finding square root for positive number.py (100%) diff --git a/Program of Reverse of any number.py b/Python Programs/Program of Reverse of any number.py similarity index 100% rename from Program of Reverse of any number.py rename to Python Programs/Program of Reverse of any number.py diff --git a/Program to print table of given number.py b/Python Programs/Program to print table of given number.py similarity index 100% rename from Program to print table of given number.py rename to Python Programs/Program to print table of given number.py diff --git a/Program to reverse Linked List( Recursive solution).py b/Python Programs/Program to reverse Linked List( Recursive solution).py similarity index 100% rename from Program to reverse Linked List( Recursive solution).py rename to Python Programs/Program to reverse Linked List( Recursive solution).py diff --git a/Python Program for Product of unique prime factors of a number.py b/Python Programs/Python Program for Product of unique prime factors of a number.py similarity index 100% rename from Python Program for Product of unique prime factors of a number.py rename to Python Programs/Python Program for Product of unique prime factors of a number.py diff --git a/Python Program for Tower of Hanoi.py b/Python Programs/Python Program for Tower of Hanoi.py similarity index 100% rename from Python Program for Tower of Hanoi.py rename to Python Programs/Python Program for Tower of Hanoi.py diff --git a/Python Program for factorial of a number.py b/Python Programs/Python Program for factorial of a number.py similarity index 100% rename from Python Program for factorial of a number.py rename to Python Programs/Python Program for factorial of a number.py diff --git a/Python Program to Count the Number of Each Vowel.py b/Python Programs/Python Program to Count the Number of Each Vowel.py similarity index 100% rename from Python Program to Count the Number of Each Vowel.py rename to Python Programs/Python Program to Count the Number of Each Vowel.py diff --git a/Python Program to Display Fibonacci Sequence Using Recursion.py b/Python Programs/Python Program to Display Fibonacci Sequence Using Recursion.py similarity index 100% rename from Python Program to Display Fibonacci Sequence Using Recursion.py rename to Python Programs/Python Program to Display Fibonacci Sequence Using Recursion.py diff --git a/Python Program to Find LCM.py b/Python Programs/Python Program to Find LCM.py similarity index 100% rename from Python Program to Find LCM.py rename to Python Programs/Python Program to Find LCM.py diff --git a/Python Program to Merge Mails.py b/Python Programs/Python Program to Merge Mails.py similarity index 100% rename from Python Program to Merge Mails.py rename to Python Programs/Python Program to Merge Mails.py diff --git a/Python Program to Print the Fibonacci sequence.py b/Python Programs/Python Program to Print the Fibonacci sequence.py similarity index 100% rename from Python Program to Print the Fibonacci sequence.py rename to Python Programs/Python Program to Print the Fibonacci sequence.py diff --git a/Python Program to Remove Punctuations from a String.py b/Python Programs/Python Program to Remove Punctuations from a String.py similarity index 100% rename from Python Program to Remove Punctuations from a String.py rename to Python Programs/Python Program to Remove Punctuations from a String.py diff --git a/Python Program to Reverse a linked list.py b/Python Programs/Python Program to Reverse a linked list.py similarity index 100% rename from Python Program to Reverse a linked list.py rename to Python Programs/Python Program to Reverse a linked list.py diff --git a/Python Program to Sort Words in Alphabetic Order.py b/Python Programs/Python Program to Sort Words in Alphabetic Order.py similarity index 100% rename from Python Program to Sort Words in Alphabetic Order.py rename to Python Programs/Python Program to Sort Words in Alphabetic Order.py diff --git a/Python Program to Transpose a Matrix.py b/Python Programs/Python Program to Transpose a Matrix.py similarity index 100% rename from Python Program to Transpose a Matrix.py rename to Python Programs/Python Program to Transpose a Matrix.py diff --git a/python program for finding square root for positive number.py b/Python Programs/python program for finding square root for positive number.py similarity index 100% rename from python program for finding square root for positive number.py rename to Python Programs/python program for finding square root for positive number.py From 8afbb791f00ade199d07a8bb19d430f889080c82 Mon Sep 17 00:00:00 2001 From: lighting9999 Date: Wed, 13 Aug 2025 13:13:06 +0800 Subject: [PATCH 4/9] Upgrade python workflows to Morden --- .github/workflows/lint_python.yml | 24 ----------------- .github/workflows/python.yml | 45 +++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 24 deletions(-) delete mode 100644 .github/workflows/lint_python.yml create mode 100644 .github/workflows/python.yml diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml deleted file mode 100644 index b90bd664f4a..00000000000 --- a/.github/workflows/lint_python.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: python -on: [pull_request, push] -jobs: - lint_python: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - - run: pip install --upgrade pip wheel - - run: pip install bandit black codespell flake8 flake8-2020 flake8-bugbear - flake8-comprehensions isort mypy pytest pyupgrade safety - - run: bandit --recursive --skip B101 . || true # B101 is assert statements - - run: black --check . || true - - run: codespell || true # --ignore-words-list="" --skip="*.css,*.js,*.lock" - - run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - - run: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=88 - --show-source --statistics - - run: isort --check-only --profile black . || true - - run: pip install -r requirements.txt || pip install --editable . || true - - run: mkdir --parents --verbose .mypy_cache - - run: mypy --ignore-missing-imports --install-types --non-interactive . || true - - run: pytest . || pytest --doctest-modules . - - run: shopt -s globstar && pyupgrade --py36-plus **/*.py || true - - run: safety check diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml new file mode 100644 index 00000000000..754171418e7 --- /dev/null +++ b/.github/workflows/python.yml @@ -0,0 +1,45 @@ +name: Python + +on: [pull_request, push] + +jobs: + lint_test: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.13' + + - name: Cache Python dependencies + id: cache-pip + uses: actions/cache@v3 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-python-${{ hashFiles('**/requirements.txt') }} + restore-keys: | + ${{ runner.os }}-python- + + - name: Install dependencies and linters + run: | + python -m pip install --upgrade pip + pip install ruff bandit mypy pytest codespell -r requirements.txt || pip install --editable . + + - name: Run Ruff checks with ignored rules + run: | + ruff check . --ignore B904,B905,EM101,EXE001,G004,ISC001,PLC0415,PLC1901,PLW060,PLW1641,PLW2901,PT011,PT018,PT028,S101,S311,SIM905,SLF001,UP038 + + - name: Run Mypy type checks + run: mypy . --ignore-missing-imports || true + + - name: Run Codespell check + run: codespell || true + + - name: Run Bandit security scan + run: bandit -r . || true + + - name: Run Pytest tests + run: pytest \ No newline at end of file From 97a44c78bf1f4a22e22e8578cfac281effba2cdc Mon Sep 17 00:00:00 2001 From: lighting9999 Date: Wed, 13 Aug 2025 13:17:40 +0800 Subject: [PATCH 5/9] fix bugs --- .github/workflows/python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 754171418e7..57985cc25bf 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -26,7 +26,7 @@ jobs: - name: Install dependencies and linters run: | python -m pip install --upgrade pip - pip install ruff bandit mypy pytest codespell -r requirements.txt || pip install --editable . + pip install ruff bandit mypy pytest codespell - name: Run Ruff checks with ignored rules run: | From 5d4736fc45c17fb9366c2e9c6ed92ce959a1c5db Mon Sep 17 00:00:00 2001 From: lighting9999 Date: Wed, 13 Aug 2025 13:21:26 +0800 Subject: [PATCH 6/9] fix --- .github/workflows/python.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 57985cc25bf..efc4645b34a 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -23,11 +23,17 @@ jobs: restore-keys: | ${{ runner.os }}-python- - - name: Install dependencies and linters + - name: Install all dependencies and tools run: | python -m pip install --upgrade pip pip install ruff bandit mypy pytest codespell + - name: Run Codespell check + run: codespell || true + + - name: Run Bandit security scan + run: bandit -r . || true + - name: Run Ruff checks with ignored rules run: | ruff check . --ignore B904,B905,EM101,EXE001,G004,ISC001,PLC0415,PLC1901,PLW060,PLW1641,PLW2901,PT011,PT018,PT028,S101,S311,SIM905,SLF001,UP038 @@ -35,11 +41,5 @@ jobs: - name: Run Mypy type checks run: mypy . --ignore-missing-imports || true - - name: Run Codespell check - run: codespell || true - - - name: Run Bandit security scan - run: bandit -r . || true - - name: Run Pytest tests run: pytest \ No newline at end of file From e0ba3b72f4f70075dfa73ebb2d283a0f25ac1cd8 Mon Sep 17 00:00:00 2001 From: lighting9999 Date: Wed, 13 Aug 2025 13:24:04 +0800 Subject: [PATCH 7/9] fix --- .github/workflows/python.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index efc4645b34a..474131e2c94 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -1,4 +1,4 @@ -name: Python +name: Python Checks on: [pull_request, push] @@ -29,7 +29,7 @@ jobs: pip install ruff bandit mypy pytest codespell - name: Run Codespell check - run: codespell || true + run: codespell --skip "*.json,*.txt,*.pdf" || true - name: Run Bandit security scan run: bandit -r . || true From 67a34ef5d2e8c29bc36081973c3c7d3093fe72e9 Mon Sep 17 00:00:00 2001 From: lighting9999 Date: Wed, 13 Aug 2025 13:57:17 +0800 Subject: [PATCH 8/9] Update python.yml --- .github/workflows/python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 474131e2c94..1cf5c058cc7 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -3,7 +3,7 @@ name: Python Checks on: [pull_request, push] jobs: - lint_test: + Test: runs-on: ubuntu-latest steps: - name: Checkout repository From d863c6157b6e098bca31ff6c5f08a205d93812b2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Aug 2025 18:21:39 +0000 Subject: [PATCH 9/9] Bump ccxt from 4.4.99 to 4.5.0 Bumps [ccxt](https://github.com/ccxt/ccxt) from 4.4.99 to 4.5.0. - [Release notes](https://github.com/ccxt/ccxt/releases) - [Changelog](https://github.com/ccxt/ccxt/blob/master/CHANGELOG.md) - [Commits](https://github.com/ccxt/ccxt/compare/v4.4.99...v4.5.0) --- updated-dependencies: - dependency-name: ccxt dependency-version: 4.5.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements_with_versions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_with_versions.txt b/requirements_with_versions.txt index 7bd0da0fbcc..bc675256f17 100644 --- a/requirements_with_versions.txt +++ b/requirements_with_versions.txt @@ -81,7 +81,7 @@ Unidecode==1.4.0 Ball==0.2.9 pynput==1.8.1 gTTS==2.5.4 -ccxt==4.4.99 +ccxt==4.5.0 fitz==0.0.1.dev2 fastapi==0.116.1 Django==5.1.7