From a27c2cba70582c99bbe0eda8e3b9d041df7c0ec1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 May 2026 12:05:42 +0000 Subject: [PATCH 1/8] build(deps): 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 d7fab9a..fe03576 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -146,7 +146,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 0dea682291003e541c910c2c55d9f98b7cfe68d6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 May 2026 12:05:52 +0000 Subject: [PATCH 2/8] build(deps): 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 d7fab9a..8ad23da 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -99,7 +99,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 98f57de441b9bf920ede9352c166ccdb11731d34 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 May 2026 21:01:23 +0000 Subject: [PATCH 3/8] build(deps): 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 b4cb0d6..a6b5433 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -146,7 +146,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 83e6662bbc4b4da9ebad0ceb0974fee9197da23e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Jun 2026 16:04:53 +0000 Subject: [PATCH 4/8] build(deps): 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 a6b5433..5181996 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -120,7 +120,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 a9606f52108be014999f2d423d8c64b4cba71fb1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2026 16:04:03 +0000 Subject: [PATCH 5/8] build(deps): 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 b182792..7544051 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 f3f88dfb415a2c4c5cf7e29689227ef00a2fd47a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jul 2026 16:05:22 +0000 Subject: [PATCH 6/8] build(deps): 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 e653fb9..5d6fcf0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=82.0.1,<83.0.0", "setuptools-scm>=10.0.5,<11.0.0"] +requires = ["setuptools>=82.0.1,<84.0.0", "setuptools-scm>=10.0.5,<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 4b9e59eb22f4180ba3a7a49c07195ccc159c9beb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 15 Jul 2026 16:04:46 +0000 Subject: [PATCH 7/8] build(deps): 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 5181996..291b0e4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -120,7 +120,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 122cdf42df5f13e3735daa45f4408964e0961a6c Mon Sep 17 00:00:00 2001 From: Batkhuu Byambajav Date: Wed, 22 Jul 2026 13:52:36 +0900 Subject: [PATCH 8/8] chore(deps): upgrade actions/setup-python to v7 and add pre-commit workflow --- .github/workflows/2.build-publish.yml | 4 +-- .github/workflows/pre-commit.yml | 44 +++++++++++++++++++++++++++ .github/workflows/publish-docs.yml | 2 +- .pre-commit-config.yaml | 17 ----------- .vscode/extensions.json | 1 - .vscode/settings.json | 1 - 6 files changed, 47 insertions(+), 22 deletions(-) create mode 100644 .github/workflows/pre-commit.yml diff --git a/.github/workflows/2.build-publish.yml b/.github/workflows/2.build-publish.yml index 7544051..55f95a2 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/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/.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 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 291b0e4..fe38c9b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -191,23 +191,6 @@ repos: entry: 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 c0ad193..fce1112 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -162,7 +162,6 @@ "**/Thumbs.db": true, "**/docs/assets/js/*.js": true }, - "python.languageServer": "Pylance", "python.analysis.extraPaths": [ "${workspaceFolder}/src" ],