From 90fd4e901a7899f89eec4502bb1c4da957491f3d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 May 2026 13:14:44 +0000 Subject: [PATCH 01/10] :arrow_up: Bump https://github.com/gitleaks/gitleaks Bumps [https://github.com/gitleaks/gitleaks](https://github.com/gitleaks/gitleaks) from v8.30.0 to 8.30.1. - [Release notes](https://github.com/gitleaks/gitleaks/releases) - [Commits](https://github.com/gitleaks/gitleaks/compare/v8.30.0...v8.30.1) --- updated-dependencies: - dependency-name: https://github.com/gitleaks/gitleaks dependency-version: 8.30.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b423da8..caddf15 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -92,7 +92,7 @@ repos: # --- Security checks --- - repo: https://github.com/gitleaks/gitleaks - rev: v8.30.0 + rev: v8.30.1 hooks: - id: gitleaks name: "๐Ÿ” gitleaks - Detect secrets in git history" From ac35c41b29e3cc5384bc33082e965cf1ea249017 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 May 2026 13:14:48 +0000 Subject: [PATCH 02/10] :arrow_up: Bump https://github.com/PyCQA/bandit from 1.9.3 to 1.9.4 Bumps [https://github.com/PyCQA/bandit](https://github.com/PyCQA/bandit) from 1.9.3 to 1.9.4. - [Release notes](https://github.com/PyCQA/bandit/releases) - [Commits](https://github.com/PyCQA/bandit/compare/1.9.3...1.9.4) --- updated-dependencies: - dependency-name: https://github.com/PyCQA/bandit dependency-version: 1.9.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b423da8..230e60d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -146,7 +146,7 @@ repos: args: ["--max-line-length=120"] - repo: https://github.com/PyCQA/bandit - rev: 1.9.3 + rev: 1.9.4 hooks: - id: bandit name: "๐Ÿ bandit - Find python security issues" From df0d9f092f67a4c5c0c3664156c13db3928bdab7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 May 2026 13:14:51 +0000 Subject: [PATCH 03/10] :arrow_up: Bump https://github.com/psf/black from 26.1.0 to 26.3.1 Bumps [https://github.com/psf/black](https://github.com/psf/black) from 26.1.0 to 26.3.1. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/26.1.0...26.3.1) --- updated-dependencies: - dependency-name: https://github.com/psf/black dependency-version: 26.3.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b423da8..1940366 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -123,7 +123,7 @@ repos: # --- Python --- - repo: https://github.com/psf/black - rev: 26.1.0 + rev: 26.3.1 hooks: - id: black name: "๐Ÿ black - Format python code" From 0dcf8fbc1f6511601649bf7bc305ee976150f593 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 May 2026 07:08:40 +0000 Subject: [PATCH 04/10] :arrow_up: Bump https://github.com/psf/black from 26.3.1 to 26.5.1 Bumps [https://github.com/psf/black](https://github.com/psf/black) from 26.3.1 to 26.5.1. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/26.3.1...26.5.1) --- updated-dependencies: - dependency-name: https://github.com/psf/black dependency-version: 26.5.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9c8fde2..c7d8a1e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -123,7 +123,7 @@ repos: # --- Python --- - repo: https://github.com/psf/black - rev: 26.3.1 + rev: 26.5.1 hooks: - id: black name: "๐Ÿ black - Format python code" From c3c6b2d893bfcbf6141fd86b1f58e8c7ba5f905c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2026 02:33:26 +0000 Subject: [PATCH 05/10] :arrow_up: Bump actions/checkout from 6 to 7 Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/1.bump-version.yml | 2 +- .github/workflows/2.build-publish.yml | 4 ++-- .github/workflows/3.update-changelog.yml | 2 +- .github/workflows/publish-docs.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/1.bump-version.yml b/.github/workflows/1.bump-version.yml index fc16d78..f7de4c7 100644 --- a/.github/workflows/1.bump-version.yml +++ b/.github/workflows/1.bump-version.yml @@ -17,7 +17,7 @@ jobs: contents: write steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Bump version env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/2.build-publish.yml b/.github/workflows/2.build-publish.yml index e635a26..f10b788 100644 --- a/.github/workflows/2.build-publish.yml +++ b/.github/workflows/2.build-publish.yml @@ -17,7 +17,7 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Set up Python uses: actions/setup-python@v6 with: @@ -37,7 +37,7 @@ jobs: contents: write steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Get latest version run: | git pull origin main diff --git a/.github/workflows/3.update-changelog.yml b/.github/workflows/3.update-changelog.yml index 29d9902..c04eefa 100644 --- a/.github/workflows/3.update-changelog.yml +++ b/.github/workflows/3.update-changelog.yml @@ -14,7 +14,7 @@ jobs: contents: write steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Update changelog env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index aee75cf..46dacb5 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -17,7 +17,7 @@ jobs: contents: write steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Set up Python From 64388ff41bd7ebe490cc29574da8688a79f35fc1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2026 02:33:46 +0000 Subject: [PATCH 06/10] :arrow_up: Bump https://github.com/igorshubovych/markdownlint-cli Bumps [https://github.com/igorshubovych/markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) from v0.48.0 to 0.49.0. - [Release notes](https://github.com/igorshubovych/markdownlint-cli/releases) - [Commits](https://github.com/igorshubovych/markdownlint-cli/compare/v0.48.0...v0.49.0) --- updated-dependencies: - dependency-name: https://github.com/igorshubovych/markdownlint-cli dependency-version: 0.49.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c7d8a1e..1d1b89a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -113,7 +113,7 @@ repos: # --- Markdown --- - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.48.0 + rev: v0.49.0 hooks: - id: markdownlint name: "๐Ÿ“ markdownlint - Lint markdown files" From 2003eb1960b454135c09559a735cc2e302559a1a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 02:34:11 +0000 Subject: [PATCH 07/10] :arrow_up: Update setuptools requirement Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v82.0.1...v83.0.0) --- updated-dependencies: - dependency-name: setuptools dependency-version: 83.0.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- requirements/requirements.build.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6e0a71e..147a51e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=82.0.1,<83.0.0", "setuptools-scm>=8.0.4,<11.0.0"] +requires = ["setuptools>=82.0.1,<84.0.0", "setuptools-scm>=8.0.4,<11.0.0"] build-backend = "setuptools.build_meta" [project] diff --git a/requirements/requirements.build.txt b/requirements/requirements.build.txt index d3bf1b2..8f9112f 100644 --- a/requirements/requirements.build.txt +++ b/requirements/requirements.build.txt @@ -1,4 +1,4 @@ -setuptools>=70.3.0,<83.0.0 +setuptools>=70.3.0,<84.0.0 wheel>=0.43.0,<1.0.0 build>=1.1.1,<2.0.0 twine>=6.0.1,<7.0.0 From 9f9f7c180df4be2ac223c8b3df810f332abafaaa Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 15 Jul 2026 02:33:45 +0000 Subject: [PATCH 08/10] :arrow_up: Bump https://github.com/igorshubovych/markdownlint-cli Bumps [https://github.com/igorshubovych/markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) from v0.49.0 to 0.49.1. - [Release notes](https://github.com/igorshubovych/markdownlint-cli/releases) - [Commits](https://github.com/igorshubovych/markdownlint-cli/compare/v0.49.0...v0.49.1) --- updated-dependencies: - dependency-name: https://github.com/igorshubovych/markdownlint-cli dependency-version: 0.49.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1d1b89a..c844de3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -113,7 +113,7 @@ repos: # --- Markdown --- - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.49.0 + rev: v0.49.1 hooks: - id: markdownlint name: "๐Ÿ“ markdownlint - Lint markdown files" From 9355e8592cd6accc475d1e10d7bb6685518e50bb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 22 Jul 2026 02:33:35 +0000 Subject: [PATCH 09/10] :arrow_up: Bump actions/setup-python from 6 to 7 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6 to 7. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/2.build-publish.yml | 4 ++-- .github/workflows/publish-docs.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/2.build-publish.yml b/.github/workflows/2.build-publish.yml index f10b788..71e7764 100644 --- a/.github/workflows/2.build-publish.yml +++ b/.github/workflows/2.build-publish.yml @@ -19,7 +19,7 @@ jobs: - name: Checkout uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: "3.10" - name: Install dependencies @@ -43,7 +43,7 @@ jobs: git pull origin main echo "Current version: v$(./scripts/get-version.sh)" - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: "3.10" - name: Install dependencies diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 46dacb5..d11be07 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -21,7 +21,7 @@ jobs: with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: "3.10" - name: Install dependencies From 862884d44b83ab2666d0dab0db07090f376c2e37 Mon Sep 17 00:00:00 2001 From: Batkhuu Byambajav Date: Thu, 23 Jul 2026 10:14:44 +0900 Subject: [PATCH 10/10] chore: add pre-commit workflow and update VSCode settings and extensions --- .github/workflows/pre-commit.yml | 44 ++++++++++++++++++++++++++++++++ .pre-commit-config.yaml | 17 ------------ .vscode/extensions.json | 1 - .vscode/settings.json | 1 - 4 files changed, 44 insertions(+), 19 deletions(-) create mode 100644 .github/workflows/pre-commit.yml diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml new file mode 100644 index 0000000..10fd5b9 --- /dev/null +++ b/.github/workflows/pre-commit.yml @@ -0,0 +1,44 @@ +name: Pre-Commit + +on: + pull_request: + branches: + - main + - dev + types: + - opened + - synchronize + - reopened + +jobs: + pre-commit: + name: Run pre-commit checks + runs-on: ubuntu-24.04 + steps: + - name: Checkout repository + uses: actions/checkout@v7 + with: + ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: 0 + - name: Set up Python + uses: actions/setup-python@v7 + with: + python-version: "3.10" + - name: Cache pip + uses: actions/cache@v6 + with: + path: ~/.cache/pip + key: pip-${{ runner.os }}-${{ hashFiles('requirements.txt') }} + - name: Install pre-commit and dependencies + run: | + python -m pip install -U pip + python -m pip install -r ./requirements.txt + python -m pip install -U pre-commit pyright pytest + - name: Cache pre-commit + uses: actions/cache@v6 + with: + path: ~/.cache/pre-commit + key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }} + - name: Run pre-commit on all files + run: | + pre-commit run --all-files --show-diff-on-failure --color=always diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c844de3..626e385 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -168,23 +168,6 @@ repos: entry: "python -m pyright" files: \.pyi?$ - # --- Tests --- - # - repo: local - # hooks: - # - id: pytest-collect - # name: "๐Ÿงช pytest-collect (local) - Validate test formatting" - # language: system - # entry: "python -m pytest --collect-only" - # pass_filenames: false - # always_run: true - - # - id: pytest - # name: "๐Ÿงช pytest (local) - Run tests" - # language: system - # entry: "./scripts/test.sh -l -v -c" - # pass_filenames: false - # always_run: true - # --- Cleanup --- # - repo: local # hooks: diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 8303941..d3aa935 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -13,7 +13,6 @@ "alefragnani.project-manager", "pkief.material-icon-theme", "aaron-bond.better-comments", - "gruntfuggly.todo-tree", "piotrpalarz.vscode-gitignore-generator", "timonwong.shellcheck", "davidanson.vscode-markdownlint", diff --git a/.vscode/settings.json b/.vscode/settings.json index 4ca5a50..1d00bf9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -148,7 +148,6 @@ "**/Thumbs.db": true, "**/docs/assets/js/*.js": true }, - "python.languageServer": "Pylance", "python.analysis.extraPaths": [ "${workspaceFolder}/src" ],