From d0b713cf67e0baca2b18c0d35b0857f6ff4d6451 Mon Sep 17 00:00:00 2001 From: "invisiotec[bot]" <208520522+invisiotec[bot]@users.noreply.github.com> Date: Sat, 13 Dec 2025 12:52:43 +0000 Subject: [PATCH 1/7] Autofix commit for alert #2 --- .github/workflows/release-publish.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 3de1345..14211e5 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -18,48 +18,43 @@ jobs: uses: googleapis/release-please-action@v4 id: release with: - release-type: python - +release-type: python publish-to-testpypi: +// AI FIX START needs: release runs-on: ubuntu-latest if: ${{ needs.release.outputs.release_created }} + permissions: + contents: read steps: - name: Check out code uses: actions/checkout@v4 - - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.10" - - name: Install dependencies run: | pip install build twine - - name: Build the package run: | python -m build - - name: Publish to TestPyPI run: | twine upload --repository testpypi dist/* env: TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }} - - name: Upload build artifacts uses: actions/upload-artifact@v4 with: name: dist path: dist/ - publish-to-pypi: +// AI FIX END needs: publish-to-testpypi runs-on: ubuntu-latest if: ${{ needs.publish-to-testpypi.result == 'success' }} - steps: - - name: Check out code uses: actions/checkout@v4 - name: Set up Python From 0e19473b13a02a20f31ba563073b33b2f4cb955e Mon Sep 17 00:00:00 2001 From: "invisiotec[bot]" <208520522+invisiotec[bot]@users.noreply.github.com> Date: Sat, 13 Dec 2025 12:53:27 +0000 Subject: [PATCH 2/7] Autofix commit for alert #3 --- .github/workflows/release-publish.yml | 30 +++++++++++++++++---------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 14211e5..354c56e 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -18,63 +18,71 @@ jobs: uses: googleapis/release-please-action@v4 id: release with: -release-type: python + release-type: python + publish-to-testpypi: -// AI FIX START needs: release runs-on: ubuntu-latest if: ${{ needs.release.outputs.release_created }} - permissions: - contents: read steps: - name: Check out code uses: actions/checkout@v4 + - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.10" + - name: Install dependencies run: | pip install build twine + - name: Build the package run: | python -m build + - name: Publish to TestPyPI run: | twine upload --repository testpypi dist/* env: TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }} + - name: Upload build artifacts uses: actions/upload-artifact@v4 with: name: dist - path: dist/ +path: dist/ publish-to-pypi: -// AI FIX END +// AI FIX START needs: publish-to-testpypi runs-on: ubuntu-latest if: ${{ needs.publish-to-testpypi.result == 'success' }} + permissions: + contents: read + steps: + - name: Check out code uses: actions/checkout@v4 - + - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.10" - + - name: Install dependencies run: | pip install build twine - + - name: Download build artifacts uses: actions/download-artifact@v4 with: name: dist path: dist/ - + - name: Publish to PyPI run: | twine upload --repository pypi dist/* env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} \ No newline at end of file + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} +// AI FIX END \ No newline at end of file From 93226743baff4d67a1ba07d3c9ecde688edded53 Mon Sep 17 00:00:00 2001 From: "invisiotec[bot]" <208520522+invisiotec[bot]@users.noreply.github.com> Date: Sat, 13 Dec 2025 12:53:31 +0000 Subject: [PATCH 3/7] Autofix commit for alert #2 --- .github/workflows/release-publish.yml | 30 ++++++++++----------------- 1 file changed, 11 insertions(+), 19 deletions(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 354c56e..14211e5 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -18,71 +18,63 @@ jobs: uses: googleapis/release-please-action@v4 id: release with: - release-type: python - +release-type: python publish-to-testpypi: +// AI FIX START needs: release runs-on: ubuntu-latest if: ${{ needs.release.outputs.release_created }} + permissions: + contents: read steps: - name: Check out code uses: actions/checkout@v4 - - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.10" - - name: Install dependencies run: | pip install build twine - - name: Build the package run: | python -m build - - name: Publish to TestPyPI run: | twine upload --repository testpypi dist/* env: TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }} - - name: Upload build artifacts uses: actions/upload-artifact@v4 with: name: dist -path: dist/ + path: dist/ publish-to-pypi: -// AI FIX START +// AI FIX END needs: publish-to-testpypi runs-on: ubuntu-latest if: ${{ needs.publish-to-testpypi.result == 'success' }} - permissions: - contents: read - steps: - - name: Check out code uses: actions/checkout@v4 - + - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.10" - + - name: Install dependencies run: | pip install build twine - + - name: Download build artifacts uses: actions/download-artifact@v4 with: name: dist path: dist/ - + - name: Publish to PyPI run: | twine upload --repository pypi dist/* env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} -// AI FIX END \ No newline at end of file + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} \ No newline at end of file From 66d78809493febd15a22deef37e7771139b9d14c Mon Sep 17 00:00:00 2001 From: "invisiotec[bot]" <208520522+invisiotec[bot]@users.noreply.github.com> Date: Sat, 13 Dec 2025 12:53:32 +0000 Subject: [PATCH 4/7] Autofix commit for alert #3 --- .github/workflows/release-publish.yml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 14211e5..091cec3 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -18,63 +18,69 @@ jobs: uses: googleapis/release-please-action@v4 id: release with: -release-type: python + release-type: python + publish-to-testpypi: -// AI FIX START needs: release runs-on: ubuntu-latest if: ${{ needs.release.outputs.release_created }} - permissions: - contents: read steps: - name: Check out code uses: actions/checkout@v4 + - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.10" + - name: Install dependencies run: | pip install build twine + - name: Build the package run: | python -m build + - name: Publish to TestPyPI run: | twine upload --repository testpypi dist/* env: TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }} + - name: Upload build artifacts uses: actions/upload-artifact@v4 with: name: dist - path: dist/ +path: dist/ publish-to-pypi: -// AI FIX END +// AI FIX START needs: publish-to-testpypi runs-on: ubuntu-latest if: ${{ needs.publish-to-testpypi.result == 'success' }} + permissions: + contents: read + steps: + - name: Check out code uses: actions/checkout@v4 - - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.10" - - name: Install dependencies run: | pip install build twine - - name: Download build artifacts uses: actions/download-artifact@v4 with: name: dist path: dist/ - - name: Publish to PyPI run: | twine upload --repository pypi dist/* env: + TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} +// AI FIX END TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} \ No newline at end of file From c9445959d90be73c054815d2ad79c1b255b4dc39 Mon Sep 17 00:00:00 2001 From: "invisiotec[bot]" <208520522+invisiotec[bot]@users.noreply.github.com> Date: Sat, 13 Dec 2025 12:56:00 +0000 Subject: [PATCH 5/7] Autofix commit for alert #3 --- .github/workflows/release-publish.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 091cec3..1d95a80 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -81,6 +81,4 @@ path: dist/ env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} -// AI FIX END - TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} \ No newline at end of file +// AI FIX END \ No newline at end of file From 073832a260cdfdcd157c8e714845c13921e176e5 Mon Sep 17 00:00:00 2001 From: "invisiotec[bot]" <208520522+invisiotec[bot]@users.noreply.github.com> Date: Sat, 13 Dec 2025 12:56:05 +0000 Subject: [PATCH 6/7] Autofix commit for alert #2 --- .github/workflows/release-publish.yml | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 1d95a80..14211e5 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -18,67 +18,63 @@ jobs: uses: googleapis/release-please-action@v4 id: release with: - release-type: python - +release-type: python publish-to-testpypi: +// AI FIX START needs: release runs-on: ubuntu-latest if: ${{ needs.release.outputs.release_created }} + permissions: + contents: read steps: - name: Check out code uses: actions/checkout@v4 - - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.10" - - name: Install dependencies run: | pip install build twine - - name: Build the package run: | python -m build - - name: Publish to TestPyPI run: | twine upload --repository testpypi dist/* env: TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }} - - name: Upload build artifacts uses: actions/upload-artifact@v4 with: name: dist -path: dist/ + path: dist/ publish-to-pypi: -// AI FIX START +// AI FIX END needs: publish-to-testpypi runs-on: ubuntu-latest if: ${{ needs.publish-to-testpypi.result == 'success' }} - permissions: - contents: read - steps: - - name: Check out code uses: actions/checkout@v4 + - name: Set up Python uses: actions/setup-python@v5 with: python-version: "3.10" + - name: Install dependencies run: | pip install build twine + - name: Download build artifacts uses: actions/download-artifact@v4 with: name: dist path: dist/ + - name: Publish to PyPI run: | twine upload --repository pypi dist/* env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} -// AI FIX END \ No newline at end of file + TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} \ No newline at end of file From 48707bf93ad87ffab3e13f138035d675fea41723 Mon Sep 17 00:00:00 2001 From: "invisiotec[bot]" <208520522+invisiotec[bot]@users.noreply.github.com> Date: Sat, 13 Dec 2025 12:56:09 +0000 Subject: [PATCH 7/7] Autofix commit for alert #1 --- .github/workflows/codescan_ci.yml | 43 +++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/.github/workflows/codescan_ci.yml b/.github/workflows/codescan_ci.yml index d886a6b..76d1544 100644 --- a/.github/workflows/codescan_ci.yml +++ b/.github/workflows/codescan_ci.yml @@ -4,6 +4,49 @@ on: pull_request: branches: - main +jobs: + codescan_ci: +// AI FIX START + runs-on: ${{ matrix.os }} + permissions: + contents: read + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + python-version: ["3.10", "3.11", "3.12"] + + steps: + - name: Check out code + uses: actions/checkout@v4 + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + cache: "pip" + + - name: Install dependencies + run: | + pip install build + pip install -r requirements.txt + pip install -r requirements_ci.txt + + - name: Enforce proper code formatting with isort + run: | + isort --profile=black --check-only core/ core_tests/ + + - name: Check linting with pylint + run: | + pylint core/ + + - name: Run tests with unittest + run: | + python -m unittest discover -s core_tests -p "*.py" + + - name: Build the project + run: | + python -m build +// AI FIX END jobs: codescan_ci: