From 6411a3b8f85bce38b5092b6166f85f4377456dff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Fri, 10 Jul 2026 22:13:04 +0200 Subject: [PATCH 01/29] Replace pre-commit with prek --- .github/workflows/build_addon.yml | 84 ++++++++++++++++++++ .pre-commit-config.yaml | 87 --------------------- prek.toml | 123 ++++++++++++++++++++++++++++++ 3 files changed, 207 insertions(+), 87 deletions(-) create mode 100644 .github/workflows/build_addon.yml delete mode 100644 .pre-commit-config.yaml create mode 100644 prek.toml diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml new file mode 100644 index 00000000..67b01798 --- /dev/null +++ b/.github/workflows/build_addon.yml @@ -0,0 +1,84 @@ +name: build addon + +on: + push: + tags: ["*"] + # To build on main/master branch, uncomment the following line: + # branches: [ main , master ] + + pull_request: + branches: [ main, master ] + + workflow_dispatch: + workflow_call: + +jobs: + build: + # Building the add-on template as an add-on does not make sense (and fails). + # Do not modify this repo name with your own one! (should remain the template) + if: github.repository != 'nvaccess/addonTemplate' + + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v7 + - name: Install uv + uses: astral-sh/setup-uv@v7 + with: + enable-cache: true + - name: Install dependencies + run: | + sudo apt-get update -y + sudo apt-get install -y gettext + uv sync + + - name: Code checks + uses: j178/prek-action@v2 + + - name: building addon + run: uv run scons && uv run scons pot + + - uses: actions/upload-artifact@v7 + with: + name: packaged_addon + path: | + ./*.nvda-addon + archive: false + + - uses: actions/upload-artifact@v7 + with: + name: translation_template + path: | + ./*.pot + archive: false + + upload_release: + runs-on: ubuntu-latest + if: ${{ startsWith(github.ref, 'refs/tags/') }} + needs: ["build"] + permissions: + contents: write + steps: + - uses: actions/checkout@v7 + - name: download all artifacts + uses: actions/download-artifact@v8 + with: + path: . + merge-multiple: true + - name: Display structure of downloaded files + run: ls -R + - name: Calculate sha256 + run: | + echo -e "\nSHA256: " >> changelog.md + sha256sum *.nvda-addon >> changelog.md + + - name: Release + uses: softprops/action-gh-release@v3 + with: + files: | + *.nvda-addon + *.pot + body_path: changelog.md + fail_on_unmatched_files: true + prerelease: ${{ contains(github.ref, '-') }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index 207177da..00000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,87 +0,0 @@ -# Copied from https://github.com/nvaccess/nvda -# https://pre-commit.ci/ -# Configuration for Continuous Integration service -ci: - # Pyright does not seem to work in pre-commit CI - skip: [pyright] - autoupdate_schedule: monthly - autoupdate_commit_msg: "Pre-commit auto-update" - autofix_commit_msg: "Pre-commit auto-fix" - submodules: true - -default_language_version: - python: python3.13 - -repos: -- repo: https://github.com/pre-commit-ci/pre-commit-ci-config - rev: v1.6.1 - hooks: - - id: check-pre-commit-ci-config - -- repo: meta - hooks: - # ensures that exclude directives apply to any file in the repository. - - id: check-useless-excludes - # ensures that the configured hooks apply to at least one file in the repository. - - id: check-hooks-apply - -- repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 - hooks: - # Prevents commits to certain branches - - id: no-commit-to-branch - args: ["--branch", "main", "--branch", "master", ] - # Checks that large files have not been added. Default cut-off for "large" files is 500kb. - - id: check-added-large-files - # Checks python syntax - - id: check-ast - # Checks for filenames that will conflict on case insensitive filesystems (the majority of Windows filesystems, most of the time) - - id: check-case-conflict - # Checks for artifacts from resolving merge conflicts. - - id: check-merge-conflict - # Checks Python files for debug statements, such as python's breakpoint function, or those inserted by some IDEs. - - id: debug-statements - # Removes trailing whitespace. - - id: trailing-whitespace - types_or: [python, c, c++, batch, markdown, toml, yaml, powershell] - # Ensures all files end in 1 (and only 1) newline. - - id: end-of-file-fixer - types_or: [python, c, c++, batch, markdown, toml, yaml, powershell] - # Removes the UTF-8 BOM from files that have it. - # See https://github.com/nvaccess/nvda/blob/master/projectDocs/dev/codingStandards.md#encoding - - id: fix-byte-order-marker - types_or: [python, c, c++, batch, markdown, toml, yaml, powershell] - # Validates TOML files. - - id: check-toml - # Validates YAML files. - - id: check-yaml - # Ensures that links to lines in files under version control point to a particular commit. - - id: check-vcs-permalinks - # Avoids using reserved Windows filenames. - - id: check-illegal-windows-names -- repo: https://github.com/asottile/add-trailing-comma - rev: v3.2.0 - hooks: - # Ruff preserves indent/new-line formatting of function arguments, list items, and similar iterables, - # if a trailing comma is added. - # This adds a trailing comma to args/iterable items in case it was missed. - - id: add-trailing-comma - -- repo: https://github.com/astral-sh/ruff-pre-commit - # Matches Ruff version in pyproject. - rev: v0.12.7 - hooks: - - id: ruff - name: lint with ruff - args: [ --fix ] - - id: ruff-format - name: format with ruff - -- repo: local - hooks: - - - id: pyright - name: type check with pyright - entry: uv run pyright - language: system - types: [python] diff --git a/prek.toml b/prek.toml new file mode 100644 index 00000000..4d8ec408 --- /dev/null +++ b/prek.toml @@ -0,0 +1,123 @@ +# Configuration file for `prek`, a git hook framework written in Rust. +# See https://prek.j178.dev for more information. +#:schema https://www.schemastore.org/prek.json + +ci = { + skip = ["pyright"], + autoupdate_schedule = "monthly", + autoupdate_commit_msg = "Pre-commit auto-update", + autofix_commit_msg = "Pre-commit auto-fix", + submodules = true + } +default_language_version = { python = "python3.13" } + +[[repos]] +repo = "https://github.com/pre-commit-ci/pre-commit-ci-config" +rev = "v1.6.1" +hooks = [ + { id = "check-pre-commit-ci-config" } +] + +[[repos]] +repo = "meta" +hooks = [ + { id = "check-useless-excludes" }, + { id = "check-hooks-apply" } +] + +[[repos]] +repo = "https://github.com/pre-commit/pre-commit-hooks" +rev = "v5.0.0" +hooks = [ + { + id = "no-commit-to-branch", + args = [ + "--branch", + "main", + "--branch", + "master" + ] + }, + { id = "check-added-large-files" }, + { id = "check-ast" }, + { id = "check-case-conflict" }, + { id = "check-merge-conflict" }, + { id = "debug-statements" }, + { + id = "trailing-whitespace", + types_or = [ + "python", + "c", + "c++", + "batch", + "markdown", + "toml", + "yaml", + "powershell" + ] + }, + { + id = "end-of-file-fixer", + types_or = [ + "python", + "c", + "c++", + "batch", + "markdown", + "toml", + "yaml", + "powershell" + ] + }, + { + id = "fix-byte-order-marker", + types_or = [ + "python", + "c", + "c++", + "batch", + "markdown", + "toml", + "yaml", + "powershell" + ] + }, + { id = "check-toml" }, + { id = "check-yaml" }, + { id = "check-vcs-permalinks" }, + { id = "check-illegal-windows-names" } +] + +[[repos]] +repo = "https://github.com/asottile/add-trailing-comma" +rev = "v3.2.0" +hooks = [ + { id = "add-trailing-comma" } +] + +[[repos]] +repo = "https://github.com/astral-sh/ruff-pre-commit" +rev = "v0.12.7" +hooks = [ + { + id = "ruff", + name = "lint with ruff", + args = ["--fix"] + }, + { + id = "ruff-format", + name = "format with ruff" + } +] + +[[repos]] +repo = "local" +hooks = [ + { + id = "pyright", + name = "type check with pyright", + entry = "uv run pyright", + language = "system", + types = ["python"] + } +] From 5709776ed5c9c9bb94f1709f202cf67f0e9f70be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Fri, 10 Jul 2026 22:15:01 +0200 Subject: [PATCH 02/29] Update pyproject --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 835a4ed9..14b7853d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ dependencies = [ # Lint "uv==0.11.15", "ruff==0.14.5", - "pre-commit==4.2.0", + "prek==0.4.4", "pyright[nodejs]==1.1.407", "requests==2.33.0", ] From 83f39f65637c574005ab7ffd8461fbf50fb91179 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Fri, 10 Jul 2026 22:29:52 +0200 Subject: [PATCH 03/29] Update workflow and prek.toml --- .github/workflows/build_addon.yml | 4 ++++ prek.toml | 8 -------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml index 67b01798..ca6c08f7 100644 --- a/.github/workflows/build_addon.yml +++ b/.github/workflows/build_addon.yml @@ -35,6 +35,10 @@ jobs: - name: Code checks uses: j178/prek-action@v2 + with: + extra-args: >- + --all-files + --skip pyright - name: building addon run: uv run scons && uv run scons pot diff --git a/prek.toml b/prek.toml index 4d8ec408..3a8a2055 100644 --- a/prek.toml +++ b/prek.toml @@ -3,7 +3,6 @@ #:schema https://www.schemastore.org/prek.json ci = { - skip = ["pyright"], autoupdate_schedule = "monthly", autoupdate_commit_msg = "Pre-commit auto-update", autofix_commit_msg = "Pre-commit auto-fix", @@ -11,13 +10,6 @@ ci = { } default_language_version = { python = "python3.13" } -[[repos]] -repo = "https://github.com/pre-commit-ci/pre-commit-ci-config" -rev = "v1.6.1" -hooks = [ - { id = "check-pre-commit-ci-config" } -] - [[repos]] repo = "meta" hooks = [ From 6ed16ccbb3416e0715729fd7ef6b134879476181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Fri, 10 Jul 2026 22:33:58 +0200 Subject: [PATCH 04/29] Make bug --- buildVars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildVars.py b/buildVars.py index f782217c..bde3fba3 100644 --- a/buildVars.py +++ b/buildVars.py @@ -106,4 +106,4 @@ # with keys inside recording the following attributes: # displayName (name of the speech dictionary shown to users and translatable), # mandatory (True when always enabled, False when not). -speechDictionaries: SpeechDictionaries = {} +speechDictionaries: SpeechDictionaries = {} \ No newline at end of file From 213c27a8e5078e537155a2c3d06b8e851126d8f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Fri, 10 Jul 2026 22:58:51 +0200 Subject: [PATCH 05/29] Apply fixes --- .github/workflows/build_addon.yml | 11 ++- buildVars.py | 2 +- uv.lock | 125 +++++------------------------- 3 files changed, 31 insertions(+), 107 deletions(-) diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml index ca6c08f7..f9b79c79 100644 --- a/.github/workflows/build_addon.yml +++ b/.github/workflows/build_addon.yml @@ -32,14 +32,21 @@ jobs: sudo apt-get update -y sudo apt-get install -y gettext uv sync - - name: Code checks + id: codeChecks uses: j178/prek-action@v2 with: extra-args: >- --all-files --skip pyright - + - name: If code checks failed, commit changes + if: steps.codeChecks.outcome == 'failure' + run: | + git config user.name "github-actions" + git config user.email "github-actions@github.com" + git add . + git commit -m "Apply code checks fixes" + git push - name: building addon run: uv run scons && uv run scons pot diff --git a/buildVars.py b/buildVars.py index bde3fba3..f782217c 100644 --- a/buildVars.py +++ b/buildVars.py @@ -106,4 +106,4 @@ # with keys inside recording the following attributes: # displayName (name of the speech dictionary shown to users and translatable), # mandatory (True when always enabled, False when not). -speechDictionaries: SpeechDictionaries = {} \ No newline at end of file +speechDictionaries: SpeechDictionaries = {} diff --git a/uv.lock b/uv.lock index 664a645a..055093d8 100644 --- a/uv.lock +++ b/uv.lock @@ -13,7 +13,7 @@ dependencies = [ { name = "mdx-gh-links" }, { name = "mdx-truly-sane-lists" }, { name = "nh3" }, - { name = "pre-commit" }, + { name = "prek" }, { name = "pyright", extra = ["nodejs"] }, { name = "requests" }, { name = "ruff" }, @@ -30,7 +30,7 @@ requires-dist = [ { name = "mdx-gh-links", specifier = "==0.4" }, { name = "mdx-truly-sane-lists", specifier = "==1.3" }, { name = "nh3", specifier = "==0.3.2" }, - { name = "pre-commit", specifier = "==4.2.0" }, + { name = "prek", specifier = "==0.4.4" }, { name = "pyright", extras = ["nodejs"], specifier = "==1.1.407" }, { name = "requests", specifier = "==2.33.0" }, { name = "ruff", specifier = "==0.14.5" }, @@ -47,15 +47,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/59/8c/57e832b7af6d7c5abe66eb3fbe3a3a32f4d11ea23a1aa7131371035be991/certifi-2026.5.20-py3-none-any.whl", hash = "sha256:3c52e209ba0a4ad7aebe60436a4ab349c39e1e602e8c134221e546902ad25897", size = 134134, upload-time = "2026-05-20T11:46:48.578Z" }, ] -[[package]] -name = "cfgv" -version = "3.5.0" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/4e/b5/721b8799b04bf9afe054a3899c6cf4e880fcf8563cc71c15610242490a0c/cfgv-3.5.0.tar.gz", hash = "sha256:d5b1034354820651caa73ede66a6294d6e95c1b00acc5e9b098e917404669132", size = 7334, upload-time = "2025-11-19T20:55:51.612Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/db/3c/33bac158f8ab7f89b2e59426d5fe2e4f63f7ed25df84c036890172b412b5/cfgv-3.5.0-py2.py3-none-any.whl", hash = "sha256:a8dc6b26ad22ff227d2634a65cb388215ce6cc96bbcc5cfde7641ae87e8dacc0", size = 7445, upload-time = "2025-11-19T20:55:50.744Z" }, -] - [[package]] name = "charset-normalizer" version = "3.4.7" @@ -106,33 +97,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/84/d0/205d54408c08b13550c733c4b85429e7ead111c7f0014309637425520a9a/deprecated-1.3.1-py2.py3-none-any.whl", hash = "sha256:597bfef186b6f60181535a29fbe44865ce137a5079f295b479886c82729d5f3f", size = 11298, upload-time = "2025-10-30T08:19:00.758Z" }, ] -[[package]] -name = "distlib" -version = "0.4.2" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/46/8d/873e9252ea2c0e0c857884e0a2899ec43ade132345df1925ef24cbe64f18/distlib-0.4.2.tar.gz", hash = "sha256:baeb401c90f27acd15c4861ae0847d1e731c27ac3dbf4210643ba61fa1e813db", size = 614914, upload-time = "2026-06-08T16:24:15.439Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/c1/60/aa891c893821d4d127292ed66c6940d1d715894bd5a0ce048056bc641773/distlib-0.4.2-py2.py3-none-any.whl", hash = "sha256:ca4cb11e5d746b5ec13c199cbf19ae27a241f89702b54e153a74332955446067", size = 470510, upload-time = "2026-06-08T16:24:13.208Z" }, -] - -[[package]] -name = "filelock" -version = "3.29.1" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/1f/f9/f38573ed5844586db374d085911740a501ccfa373b455fc9413f09f85237/filelock-3.29.1.tar.gz", hash = "sha256:d97e6b1b9757569626c58caa07dc4beb1613f4a2938b1e8cc81afca398906c9e", size = 59335, upload-time = "2026-06-03T15:19:04.053Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/4c/a0/614c5fe402fd88951df45f4dda2fa3b4e17a99ecd92340771929169b3b95/filelock-3.29.1-py3-none-any.whl", hash = "sha256:85199dfd706869641b72b2e8955d5416a4b2b7dc4b0e8e6d97b4cc1299a6983b", size = 40750, upload-time = "2026-06-03T15:19:02.959Z" }, -] - -[[package]] -name = "identify" -version = "2.6.19" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/52/63/51723b5f116cc04b061cb6f5a561790abf249d25931d515cd375e063e0f4/identify-2.6.19.tar.gz", hash = "sha256:6be5020c38fcb07da56c53733538a3081ea5aa70d36a156f83044bfbf9173842", size = 99567, upload-time = "2026-04-17T18:39:50.265Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/94/84/d9273cd09688070a6523c4aee4663a8538721b2b755c4962aafae0011e72/identify-2.6.19-py2.py3-none-any.whl", hash = "sha256:20e6a87f786f768c092a721ad107fc9df0eb89347be9396cadf3f4abbd1fb78a", size = 99397, upload-time = "2026-04-17T18:39:49.221Z" }, -] - [[package]] name = "idna" version = "3.18" @@ -262,28 +226,27 @@ wheels = [ ] [[package]] -name = "platformdirs" -version = "4.10.0" +name = "prek" +version = "0.4.4" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/d7/47/e4501f49c178ae1d9f4a75073fda4204f52647993f075a9db4d14930e0c5/platformdirs-4.10.0.tar.gz", hash = "sha256:31e761a6a0ca04faf7353ea759bdba55652be214725111e5aac52dfa29d4bef7", size = 31224, upload-time = "2026-05-28T03:32:53.587Z" } +sdist = { url = "https://files.pythonhosted.org/packages/f6/13/3d71b3adbf385f7dc7fb6e16d6e25421fd8398b45d8f8410a328bf22bd3f/prek-0.4.4.tar.gz", hash = "sha256:4ec5771153d158a0e4473933b7fd9b51e1b1f57f2df50aeb7560ea6812226dc5", size = 470641, upload-time = "2026-06-04T07:26:07.199Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/81/e6/cd9575ac904136b3cbf7aa7ee819ef86eedb7274e46f230e94ea4342e729/platformdirs-4.10.0-py3-none-any.whl", hash = "sha256:fb516cdb12eb0d857d0cd85a7c57cea4d060bee4578d6cf5a14dfdf8cbf8784a", size = 22743, upload-time = "2026-05-28T03:32:52.175Z" }, -] - -[[package]] -name = "pre-commit" -version = "4.2.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "cfgv" }, - { name = "identify" }, - { name = "nodeenv" }, - { name = "pyyaml" }, - { name = "virtualenv" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/08/39/679ca9b26c7bb2999ff122d50faa301e49af82ca9c066ec061cfbc0c6784/pre_commit-4.2.0.tar.gz", hash = "sha256:601283b9757afd87d40c4c4a9b2b5de9637a8ea02eaff7adc2d0fb4e04841146", size = 193424, upload-time = "2025-03-18T21:35:20.987Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/88/74/a88bf1b1efeae488a0c0b7bdf71429c313722d1fc0f377537fbe554e6180/pre_commit-4.2.0-py2.py3-none-any.whl", hash = "sha256:a009ca7205f1eb497d10b845e52c838a98b6cdd2102a6c8e4540e94ee75c58bd", size = 220707, upload-time = "2025-03-18T21:35:19.343Z" }, + { url = "https://files.pythonhosted.org/packages/06/9f/68a577888edf7f2647a652b02899508ccd84e57ce1f79c51a44edfd308d7/prek-0.4.4-py3-none-linux_armv6l.whl", hash = "sha256:23cfd96a25de1c93e3c43c746643b80489e3b2fa49ca9c0ffd6022e51535c900", size = 5550271, upload-time = "2026-06-04T07:26:17.834Z" }, + { url = "https://files.pythonhosted.org/packages/35/b8/5427a0023116343a8d787b446536a7fddfa5db7eec7713dd05618da2bdfe/prek-0.4.4-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:a427b792c4436f49732b1f6ebccf221fdcc6390c148474280da9c2c6eaabc9c4", size = 5910136, upload-time = "2026-06-04T07:26:20.616Z" }, + { url = "https://files.pythonhosted.org/packages/9d/4f/d751e90b7e768e472e054cd41cbe502589436ca9c1a13bfe4fa9513f9cde/prek-0.4.4-py3-none-macosx_11_0_arm64.whl", hash = "sha256:b998038fc92c990e03147eb5b95b0f2c394517f8857ab911aac8e092f1b9b3ab", size = 5470124, upload-time = "2026-06-04T07:26:29.23Z" }, + { url = "https://files.pythonhosted.org/packages/c6/fe/e73241c5777b6f9b6b95132febbd27f9be9e89912e9e93c0982680593af2/prek-0.4.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:9cebca8c15da4f1d6e3a25e6ae0611425c8596e926222050f2588c390e42df8a", size = 5732725, upload-time = "2026-06-04T07:26:19.133Z" }, + { url = "https://files.pythonhosted.org/packages/ca/a3/329bd910e7e5d9d0eb5e571f3ba48023213744e78411afb81f5ef8356cab/prek-0.4.4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c8742ac26363e74c855df6215a709d5db183204d00ac0f1a722b13aed4da3cd0", size = 5457953, upload-time = "2026-06-04T07:26:23.41Z" }, + { url = "https://files.pythonhosted.org/packages/3d/f8/d642990513d9707398506bad45d39173d84266231f7d919899f694aefe2c/prek-0.4.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a2b7c8710546a1e894afa7ab022030cd4e21f1ee7ffb301b4360773d22f1f00f", size = 5860556, upload-time = "2026-06-04T07:26:11.692Z" }, + { url = "https://files.pythonhosted.org/packages/8d/17/a2e29cb278503a8c18612d8a62a15020648dc768e2e94bc4b4d4c9411e07/prek-0.4.4-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e02bd4d5e05c500e4d9f70f024e30d13aa361dc490724b7f476d2e35542c239f", size = 6652492, upload-time = "2026-06-04T07:26:09.962Z" }, + { url = "https://files.pythonhosted.org/packages/ab/10/ad3270b18135ee5d1af6f6cf4b0c8601b1cc2cb38d16e835081da820833a/prek-0.4.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3f3a25041733de987a47e5a7bace47182a6f0e2ae5f960cb54c1d4630afd2591", size = 6113837, upload-time = "2026-06-04T07:26:24.873Z" }, + { url = "https://files.pythonhosted.org/packages/59/d9/e8c201b9b41c4561673cea01c630ab604df89d13e952f87dbcb807d32588/prek-0.4.4-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:0b04a0f36d07474f2a9fc5b1ba1197a1b326b2b211f39cd74cf0d4613545f7f4", size = 5729155, upload-time = "2026-06-04T07:26:26.194Z" }, + { url = "https://files.pythonhosted.org/packages/e8/cd/227b0494fcbc91e8fe15c2a4db9e6dfff95314ef38db3e40e6ea96db249d/prek-0.4.4-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:f032ccbe2d6edc345f81a6d772c18cc169d63c27b5a8292bfe416b352bdfee57", size = 5590775, upload-time = "2026-06-04T07:26:22.038Z" }, + { url = "https://files.pythonhosted.org/packages/cc/e0/9d750b9cf21ece884afdc15668d0f005a36588fe1b0bb5ff4a8112ab51cb/prek-0.4.4-py3-none-musllinux_1_1_armv7l.whl", hash = "sha256:bad3586fcea3e913f0edf2e8f132f97889e03976b7ee3d120fd294ad4e89a5eb", size = 5437864, upload-time = "2026-06-04T07:26:30.673Z" }, + { url = "https://files.pythonhosted.org/packages/3a/48/e2e5c0299590ad18a253c0ac09508b615baa1b382010c511186572f711d3/prek-0.4.4-py3-none-musllinux_1_1_i686.whl", hash = "sha256:4058638532c6dcbf0076d23b9264cbdd9f0f0e320762e237a6b9e4e4b854a766", size = 5718579, upload-time = "2026-06-04T07:26:27.786Z" }, + { url = "https://files.pythonhosted.org/packages/54/48/7fb3d4e7f664d1ce8ae35ec553872ffddf9fab4c5081735fdaae610b1e7c/prek-0.4.4-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:619bab14071670249777deea0cc0b29d904c4a514cf33b20e583900a544f0399", size = 6231622, upload-time = "2026-06-04T07:26:16.309Z" }, + { url = "https://files.pythonhosted.org/packages/46/c0/a4ddbf38034afe67cfa97c4bd81c86429ada098e7c323218d9f9fd061566/prek-0.4.4-py3-none-win32.whl", hash = "sha256:143154b329c05b2f9fa3230e604d02d9c4297dd43f96135a8ba166772e8ecd60", size = 5240317, upload-time = "2026-06-04T07:26:08.726Z" }, + { url = "https://files.pythonhosted.org/packages/bc/8c/fe97b5b095187bb2f93bbe406bccf108c879e5e4c83f165809b0d16ce0fb/prek-0.4.4-py3-none-win_amd64.whl", hash = "sha256:c38c5140ae2ea55ebb02e6ca590a416664ea1af287cdd21f54daeec53a81015a", size = 5626104, upload-time = "2026-06-04T07:26:14.81Z" }, + { url = "https://files.pythonhosted.org/packages/25/63/3586226d536796e65f8e725b531d6104e55caaa18659bdcb512661629586/prek-0.4.4-py3-none-win_arm64.whl", hash = "sha256:3efa28fb37b9ddbafb7759da8d497f0d36cf02a05816e15d6541f5669d5d2114", size = 5470399, upload-time = "2026-06-04T07:26:13.231Z" }, ] [[package]] @@ -304,37 +267,6 @@ nodejs = [ { name = "nodejs-wheel-binaries" }, ] -[[package]] -name = "python-discovery" -version = "1.4.0" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "filelock" }, - { name = "platformdirs" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/a6/12/38c1a0b1e64806780c9563e3fc9f6e472251839662587cfbe9bfaf2ae10a/python_discovery-1.4.0.tar.gz", hash = "sha256:eb8bc7daad3c226c147e45bb4e970a1feb1bf4048ee178e6db59e197b8010ce3", size = 68455, upload-time = "2026-05-28T01:15:37.639Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/c8/8d/3d316429f65029532bb1e28ff77b797d86b5ac3915bb44ca4e19aa283d43/python_discovery-1.4.0-py3-none-any.whl", hash = "sha256:26ed78d703e234879a66244c7d4114563fb13ec5cd30a2d1357e5fb4850782da", size = 33217, upload-time = "2026-05-28T01:15:36.573Z" }, -] - -[[package]] -name = "pyyaml" -version = "6.0.3" -source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/d1/11/0fd08f8192109f7169db964b5707a2f1e8b745d4e239b784a5a1dd80d1db/pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8", size = 181669, upload-time = "2025-09-25T21:32:23.673Z" }, - { url = "https://files.pythonhosted.org/packages/b1/16/95309993f1d3748cd644e02e38b75d50cbc0d9561d21f390a76242ce073f/pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1", size = 173252, upload-time = "2025-09-25T21:32:25.149Z" }, - { url = "https://files.pythonhosted.org/packages/50/31/b20f376d3f810b9b2371e72ef5adb33879b25edb7a6d072cb7ca0c486398/pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c", size = 767081, upload-time = "2025-09-25T21:32:26.575Z" }, - { url = "https://files.pythonhosted.org/packages/49/1e/a55ca81e949270d5d4432fbbd19dfea5321eda7c41a849d443dc92fd1ff7/pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5", size = 841159, upload-time = "2025-09-25T21:32:27.727Z" }, - { url = "https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6", size = 801626, upload-time = "2025-09-25T21:32:28.878Z" }, - { url = "https://files.pythonhosted.org/packages/f9/11/ba845c23988798f40e52ba45f34849aa8a1f2d4af4b798588010792ebad6/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6", size = 753613, upload-time = "2025-09-25T21:32:30.178Z" }, - { url = "https://files.pythonhosted.org/packages/3d/e0/7966e1a7bfc0a45bf0a7fb6b98ea03fc9b8d84fa7f2229e9659680b69ee3/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be", size = 794115, upload-time = "2025-09-25T21:32:31.353Z" }, - { url = "https://files.pythonhosted.org/packages/de/94/980b50a6531b3019e45ddeada0626d45fa85cbe22300844a7983285bed3b/pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26", size = 137427, upload-time = "2025-09-25T21:32:32.58Z" }, - { url = "https://files.pythonhosted.org/packages/97/c9/39d5b874e8b28845e4ec2202b5da735d0199dbe5b8fb85f91398814a9a46/pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c", size = 154090, upload-time = "2025-09-25T21:32:33.659Z" }, - { url = "https://files.pythonhosted.org/packages/73/e8/2bdf3ca2090f68bb3d75b44da7bbc71843b19c9f2b9cb9b0f4ab7a5a4329/pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb", size = 140246, upload-time = "2025-09-25T21:32:34.663Z" }, -] - [[package]] name = "requests" version = "2.33.0" @@ -429,21 +361,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/e5/7d/fa3a9960c95af9bbe2a629048760d0b9b4fead8ccd4f2235af747ec7cdf0/uv-0.11.15-py3-none-win_arm64.whl", hash = "sha256:4f39426a13dee24897aed60c4b98058c66f18bd983885ac5f4a54a04b24fbddf", size = 23198178, upload-time = "2026-05-18T19:57:14.68Z" }, ] -[[package]] -name = "virtualenv" -version = "21.4.2" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "distlib" }, - { name = "filelock" }, - { name = "platformdirs" }, - { name = "python-discovery" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/e1/0d/4e93c8e6d1001a75763f87d8f5ecda8ebc7f4aa2153dddfaf4ae8892821a/virtualenv-21.4.2.tar.gz", hash = "sha256:38e6ee0a555615c0ea9da2ac7e9998fe8dc3b911dd33ad8eaad2020957653b0c", size = 7613326, upload-time = "2026-05-31T17:01:22.827Z" } -wheels = [ - { url = "https://files.pythonhosted.org/packages/bf/c4/557dc082be035381b85fdb2b74e21d3d21b57750b74f2b47a32f3a639ff9/virtualenv-21.4.2-py3-none-any.whl", hash = "sha256:854210ca524a1a4d0d744734f4acbc721c3ffe163b85bbf5d56d14d5ae2f0fae", size = 7594079, upload-time = "2026-05-31T17:01:20.735Z" }, -] - [[package]] name = "wrapt" version = "2.2.1" From 709765f5c755d50b4f652656a9655e71f8fc8053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Fri, 10 Jul 2026 23:01:41 +0200 Subject: [PATCH 06/29] Remove blank line --- buildVars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildVars.py b/buildVars.py index f782217c..bde3fba3 100644 --- a/buildVars.py +++ b/buildVars.py @@ -106,4 +106,4 @@ # with keys inside recording the following attributes: # displayName (name of the speech dictionary shown to users and translatable), # mandatory (True when always enabled, False when not). -speechDictionaries: SpeechDictionaries = {} +speechDictionaries: SpeechDictionaries = {} \ No newline at end of file From d6bef6194ec36b255e247c89fdd0160822d03c12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Fri, 10 Jul 2026 23:26:28 +0200 Subject: [PATCH 07/29] Improve workflow --- .github/workflows/build_addon.yml | 20 ++++++++++++++++---- buildVars.py | 2 +- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml index f9b79c79..54f6f568 100644 --- a/.github/workflows/build_addon.yml +++ b/.github/workflows/build_addon.yml @@ -18,11 +18,16 @@ jobs: # Do not modify this repo name with your own one! (should remain the template) if: github.repository != 'nvaccess/addonTemplate' + permissions: + contents: write + runs-on: ubuntu-latest steps: - name: Checkout repo uses: actions/checkout@v7 + with: + ref: ${{ github.head_ref || github.ref_name }} - name: Install uv uses: astral-sh/setup-uv@v7 with: @@ -40,13 +45,20 @@ jobs: --all-files --skip pyright - name: If code checks failed, commit changes - if: steps.codeChecks.outcome == 'failure' + if: always() && steps.codeChecks.outcome == 'failure' run: | + if git diff --quiet; then + echo "No changes to commit" + exit 0 + fi git config user.name "github-actions" git config user.email "github-actions@github.com" - git add . - git commit -m "Apply code checks fixes" - git push + git add -A + git commit -m "Apply code checks fixes" || { + echo "Nothing to commit, continuing" + exit 0 + } + git push || echo "Push failed (likely token/permissions), continuing" - name: building addon run: uv run scons && uv run scons pot diff --git a/buildVars.py b/buildVars.py index bde3fba3..f782217c 100644 --- a/buildVars.py +++ b/buildVars.py @@ -106,4 +106,4 @@ # with keys inside recording the following attributes: # displayName (name of the speech dictionary shown to users and translatable), # mandatory (True when always enabled, False when not). -speechDictionaries: SpeechDictionaries = {} \ No newline at end of file +speechDictionaries: SpeechDictionaries = {} From e38c2b78c3cda9918917b8a29be2f8cc9977d87d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Fri, 10 Jul 2026 23:29:01 +0200 Subject: [PATCH 08/29] Add new line in buildars --- buildVars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildVars.py b/buildVars.py index f782217c..bde3fba3 100644 --- a/buildVars.py +++ b/buildVars.py @@ -106,4 +106,4 @@ # with keys inside recording the following attributes: # displayName (name of the speech dictionary shown to users and translatable), # mandatory (True when always enabled, False when not). -speechDictionaries: SpeechDictionaries = {} +speechDictionaries: SpeechDictionaries = {} \ No newline at end of file From 6c78d5306edc16aa2a54e2e156e81c6213b08539 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Fri, 10 Jul 2026 23:33:44 +0200 Subject: [PATCH 09/29] Bug --- buildVars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildVars.py b/buildVars.py index bde3fba3..84a8253c 100644 --- a/buildVars.py +++ b/buildVars.py @@ -106,4 +106,4 @@ # with keys inside recording the following attributes: # displayName (name of the speech dictionary shown to users and translatable), # mandatory (True when always enabled, False when not). -speechDictionaries: SpeechDictionaries = {} \ No newline at end of file +speechDictionaries: SpeechDictionaries = {} \ No newline at end of file From 91a2ae75f7c9133ad72ac2a2b2efe19a9b1d0440 Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 10 Jul 2026 21:35:41 +0000 Subject: [PATCH 10/29] Apply code checks fixes --- buildVars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildVars.py b/buildVars.py index 84a8253c..f782217c 100644 --- a/buildVars.py +++ b/buildVars.py @@ -106,4 +106,4 @@ # with keys inside recording the following attributes: # displayName (name of the speech dictionary shown to users and translatable), # mandatory (True when always enabled, False when not). -speechDictionaries: SpeechDictionaries = {} \ No newline at end of file +speechDictionaries: SpeechDictionaries = {} From fe55de38f9db8cfe5411780dce53d10b90a45510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Fri, 10 Jul 2026 23:42:22 +0200 Subject: [PATCH 11/29] Add permissions to pull requests --- .github/workflows/build_addon.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml index 54f6f568..c1eac83f 100644 --- a/.github/workflows/build_addon.yml +++ b/.github/workflows/build_addon.yml @@ -20,6 +20,7 @@ jobs: permissions: contents: write + pull-requests: write runs-on: ubuntu-latest From 4df9dd6b6bab4a0623d612e98848d134dd6a4dd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Fri, 10 Jul 2026 23:42:51 +0200 Subject: [PATCH 12/29] Bug --- buildVars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildVars.py b/buildVars.py index f782217c..84a8253c 100644 --- a/buildVars.py +++ b/buildVars.py @@ -106,4 +106,4 @@ # with keys inside recording the following attributes: # displayName (name of the speech dictionary shown to users and translatable), # mandatory (True when always enabled, False when not). -speechDictionaries: SpeechDictionaries = {} +speechDictionaries: SpeechDictionaries = {} \ No newline at end of file From 0bae8a30e8fcaadb926d887cc27f23b495410133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 11 Jul 2026 04:48:44 +0200 Subject: [PATCH 13/29] Let workflow access actions --- .github/workflows/build_addon.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml index c1eac83f..0c46a466 100644 --- a/.github/workflows/build_addon.yml +++ b/.github/workflows/build_addon.yml @@ -20,7 +20,7 @@ jobs: permissions: contents: write - pull-requests: write + actions: write runs-on: ubuntu-latest From b68d2cec58fa46a1f89f6ddaa832f3db227d4520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 11 Jul 2026 05:01:35 +0200 Subject: [PATCH 14/29] Improve workflow --- .github/workflows/build_addon.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml index 0c46a466..1c1fc93b 100644 --- a/.github/workflows/build_addon.yml +++ b/.github/workflows/build_addon.yml @@ -20,7 +20,6 @@ jobs: permissions: contents: write - actions: write runs-on: ubuntu-latest @@ -55,7 +54,7 @@ jobs: git config user.name "github-actions" git config user.email "github-actions@github.com" git add -A - git commit -m "Apply code checks fixes" || { + git commit -m "Apply code checks fixes [skip ci]"" || { echo "Nothing to commit, continuing" exit 0 } From 95df132d6e487b1faf4c3ed4be9d43e898b881f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 11 Jul 2026 05:07:09 +0200 Subject: [PATCH 15/29] Fix workflow --- .github/workflows/build_addon.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml index 1c1fc93b..0eb3b002 100644 --- a/.github/workflows/build_addon.yml +++ b/.github/workflows/build_addon.yml @@ -54,7 +54,7 @@ jobs: git config user.name "github-actions" git config user.email "github-actions@github.com" git add -A - git commit -m "Apply code checks fixes [skip ci]"" || { + git commit -m "Apply code checks fixes [skip ci]" || { echo "Nothing to commit, continuing" exit 0 } From c66a98627591a9c831534305729df0b52518e4c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 11 Jul 2026 05:43:44 +0200 Subject: [PATCH 16/29] Improve workflow --- .github/workflows/build_addon.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml index 0eb3b002..9fa971ed 100644 --- a/.github/workflows/build_addon.yml +++ b/.github/workflows/build_addon.yml @@ -39,26 +39,20 @@ jobs: uv sync - name: Code checks id: codeChecks + continue-on-error: true uses: j178/prek-action@v2 with: extra-args: >- --all-files --skip pyright - name: If code checks failed, commit changes - if: always() && steps.codeChecks.outcome == 'failure' + if: steps.codeChecks.outcome == 'failure' run: | - if git diff --quiet; then - echo "No changes to commit" - exit 0 - fi git config user.name "github-actions" git config user.email "github-actions@github.com" git add -A - git commit -m "Apply code checks fixes [skip ci]" || { - echo "Nothing to commit, continuing" - exit 0 - } - git push || echo "Push failed (likely token/permissions), continuing" + git commit -m "Apply code checks fixes [skip ci]" || true + git push || true - name: building addon run: uv run scons && uv run scons pot From c7a3ca15f96a14e17898686cf62774ff9f7bff86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 11 Jul 2026 06:00:20 +0200 Subject: [PATCH 17/29] Improve workflow --- .github/workflows/build_addon.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml index 9fa971ed..e9b0956c 100644 --- a/.github/workflows/build_addon.yml +++ b/.github/workflows/build_addon.yml @@ -16,7 +16,7 @@ jobs: build: # Building the add-on template as an add-on does not make sense (and fails). # Do not modify this repo name with your own one! (should remain the template) - if: github.repository != 'nvaccess/addonTemplate' + if: github.repository != 'nvaccess/addonTemplate' && github.event.head_commit.committer.email != 'github-actions@github.com' permissions: contents: write @@ -51,7 +51,7 @@ jobs: git config user.name "github-actions" git config user.email "github-actions@github.com" git add -A - git commit -m "Apply code checks fixes [skip ci]" || true + git commit -m "Apply code checks fixes" git push || true - name: building addon run: uv run scons && uv run scons pot From 6f0aced73cc69c9906ee20b0698fefda2c446dd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 11 Jul 2026 07:25:04 +0200 Subject: [PATCH 18/29] Test disabling workflows when the actor is github actions --- .github/workflows/build_addon.yml | 4 +- .github/workflows/codeql.yml | 93 ------------------- .../fetchTranslationsFromCrowdin.yaml | 21 ----- 3 files changed, 2 insertions(+), 116 deletions(-) delete mode 100644 .github/workflows/codeql.yml delete mode 100644 .github/workflows/fetchTranslationsFromCrowdin.yaml diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml index e9b0956c..4cba1a96 100644 --- a/.github/workflows/build_addon.yml +++ b/.github/workflows/build_addon.yml @@ -16,7 +16,7 @@ jobs: build: # Building the add-on template as an add-on does not make sense (and fails). # Do not modify this repo name with your own one! (should remain the template) - if: github.repository != 'nvaccess/addonTemplate' && github.event.head_commit.committer.email != 'github-actions@github.com' + if: github.repository != 'nvaccess/addonTemplate' && $GITHUB_ACTOR != 'github-actions[bot]' permissions: contents: write @@ -52,7 +52,7 @@ jobs: git config user.email "github-actions@github.com" git add -A git commit -m "Apply code checks fixes" - git push || true + git push - name: building addon run: uv run scons && uv run scons pot diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index 63e475a5..00000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,93 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# -name: "CodeQL Advanced" - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - schedule: - - cron: '35 13 * * 2' - -jobs: - analyze: - name: Analyze (${{ matrix.language }}) - # Runner size impacts CodeQL analysis time. To learn more, please see: - # - https://gh.io/recommended-hardware-resources-for-running-codeql - # - https://gh.io/supported-runners-and-hardware-resources - # - https://gh.io/using-larger-runners (GitHub.com only) - # Consider using larger runners or machines with greater resources for possible analysis time improvements. - runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} - permissions: - # required for all workflows - security-events: write - - # required to fetch internal or private CodeQL packs - packages: read - - # only required for workflows in private repositories - actions: read - contents: read - - strategy: - fail-fast: false - matrix: - include: - - language: python - build-mode: none - - language: actions - # CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' - # Use `c-cpp` to analyze code written in C, C++ or both - # Use 'java-kotlin' to analyze code written in Java, Kotlin or both - # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both - # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis, - # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning. - # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how - # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages - steps: - - name: Checkout repository - uses: actions/checkout@v5 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - with: - languages: ${{ matrix.language }} - build-mode: ${{ matrix.build-mode }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - - # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - # queries: security-extended,security-and-quality - - # If the analyze step fails for one of the languages you are analyzing with - # "We were unable to automatically build your code", modify the matrix above - # to set the build mode to "manual" for that language. Then modify this step - # to build your code. - # â„šī¸ Command-line programs to run using the OS shell. - # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - - if: matrix.build-mode == 'manual' - shell: bash - run: | - echo 'If you are using a "manual" build mode for one or more of the' \ - 'languages you are analyzing, replace this with the commands to build' \ - 'your code, for example:' - echo ' make bootstrap' - echo ' make release' - exit 1 - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 - with: - category: "/language:${{matrix.language}}" diff --git a/.github/workflows/fetchTranslationsFromCrowdin.yaml b/.github/workflows/fetchTranslationsFromCrowdin.yaml deleted file mode 100644 index ddb21588..00000000 --- a/.github/workflows/fetchTranslationsFromCrowdin.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: Fetch translations from Crowdin - -on: - push: - branches: - - main - schedule: - # * is a special character in YAML so you have to quote this string - - cron: '0 0 * * 5' - workflow_dispatch: - -jobs: - fetchTranslations: - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - name: Checkout code - uses: actions/checkout@v5 - - name: Fetch translations from Crowdin - uses: nvdaaddons/crowdinRegistration/.github/actions/fetchTranslations@main From 1a2e57cf3e9a2ff3219c0922f4ec48170b123c93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 11 Jul 2026 07:28:25 +0200 Subject: [PATCH 19/29] Bug --- buildVars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildVars.py b/buildVars.py index 84a8253c..bde3fba3 100644 --- a/buildVars.py +++ b/buildVars.py @@ -106,4 +106,4 @@ # with keys inside recording the following attributes: # displayName (name of the speech dictionary shown to users and translatable), # mandatory (True when always enabled, False when not). -speechDictionaries: SpeechDictionaries = {} \ No newline at end of file +speechDictionaries: SpeechDictionaries = {} \ No newline at end of file From 6aef877545ba8e3b5351fb31609a495e56201f19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 11 Jul 2026 07:34:15 +0200 Subject: [PATCH 20/29] Fix workflow --- .github/workflows/build_addon.yml | 4 ++-- buildVars.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml index 4cba1a96..a4d63b87 100644 --- a/.github/workflows/build_addon.yml +++ b/.github/workflows/build_addon.yml @@ -16,7 +16,7 @@ jobs: build: # Building the add-on template as an add-on does not make sense (and fails). # Do not modify this repo name with your own one! (should remain the template) - if: github.repository != 'nvaccess/addonTemplate' && $GITHUB_ACTOR != 'github-actions[bot]' + if: github.repository != 'nvaccess/addonTemplate' && github.actor != 'github-actions[bot]' permissions: contents: write @@ -52,7 +52,7 @@ jobs: git config user.email "github-actions@github.com" git add -A git commit -m "Apply code checks fixes" - git push + git push - name: building addon run: uv run scons && uv run scons pot diff --git a/buildVars.py b/buildVars.py index bde3fba3..f782217c 100644 --- a/buildVars.py +++ b/buildVars.py @@ -106,4 +106,4 @@ # with keys inside recording the following attributes: # displayName (name of the speech dictionary shown to users and translatable), # mandatory (True when always enabled, False when not). -speechDictionaries: SpeechDictionaries = {} \ No newline at end of file +speechDictionaries: SpeechDictionaries = {} From 25dbab2d5fec5f2ab96be415bf291d056462415e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 11 Jul 2026 07:35:26 +0200 Subject: [PATCH 21/29] Bug --- .github/workflows/build_addon.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml index a4d63b87..569c489b 100644 --- a/.github/workflows/build_addon.yml +++ b/.github/workflows/build_addon.yml @@ -98,4 +98,4 @@ jobs: *.pot body_path: changelog.md fail_on_unmatched_files: true - prerelease: ${{ contains(github.ref, '-') }} + prerelease: ${{ contains(github.ref, '-') }} \ No newline at end of file From 30f9219919d8ca5b147185bf5b6436507fcaa0ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 11 Jul 2026 07:41:06 +0200 Subject: [PATCH 22/29] Fix workflow --- .github/workflows/build_addon.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml index 569c489b..7f8df315 100644 --- a/.github/workflows/build_addon.yml +++ b/.github/workflows/build_addon.yml @@ -98,4 +98,5 @@ jobs: *.pot body_path: changelog.md fail_on_unmatched_files: true - prerelease: ${{ contains(github.ref, '-') }} \ No newline at end of file + prerelease: ${{ contains(github.ref, '-') }} + \ No newline at end of file From f2f6404364b0e8010681d878c03b15e385b7fb38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 11 Jul 2026 07:43:21 +0200 Subject: [PATCH 23/29] Bug --- buildVars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildVars.py b/buildVars.py index f782217c..84a8253c 100644 --- a/buildVars.py +++ b/buildVars.py @@ -106,4 +106,4 @@ # with keys inside recording the following attributes: # displayName (name of the speech dictionary shown to users and translatable), # mandatory (True when always enabled, False when not). -speechDictionaries: SpeechDictionaries = {} +speechDictionaries: SpeechDictionaries = {} \ No newline at end of file From 35e8e4c0ec3d0a7eec62f6141885e5c343c3b163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 11 Jul 2026 07:46:16 +0200 Subject: [PATCH 24/29] Fix --- .github/workflows/build_addon.yml | 1 - buildVars.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml index 7f8df315..a4d63b87 100644 --- a/.github/workflows/build_addon.yml +++ b/.github/workflows/build_addon.yml @@ -99,4 +99,3 @@ jobs: body_path: changelog.md fail_on_unmatched_files: true prerelease: ${{ contains(github.ref, '-') }} - \ No newline at end of file diff --git a/buildVars.py b/buildVars.py index 84a8253c..f782217c 100644 --- a/buildVars.py +++ b/buildVars.py @@ -106,4 +106,4 @@ # with keys inside recording the following attributes: # displayName (name of the speech dictionary shown to users and translatable), # mandatory (True when always enabled, False when not). -speechDictionaries: SpeechDictionaries = {} \ No newline at end of file +speechDictionaries: SpeechDictionaries = {} From 1d3786e3f5d17af7806a439bf53d3decbab08450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 11 Jul 2026 07:47:33 +0200 Subject: [PATCH 25/29] Bug --- buildVars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildVars.py b/buildVars.py index f782217c..84a8253c 100644 --- a/buildVars.py +++ b/buildVars.py @@ -106,4 +106,4 @@ # with keys inside recording the following attributes: # displayName (name of the speech dictionary shown to users and translatable), # mandatory (True when always enabled, False when not). -speechDictionaries: SpeechDictionaries = {} +speechDictionaries: SpeechDictionaries = {} \ No newline at end of file From 7753dce4b23a92b06d389cbd84ffb7f16d6b4cad Mon Sep 17 00:00:00 2001 From: github-actions Date: Sat, 11 Jul 2026 05:48:11 +0000 Subject: [PATCH 26/29] Apply code checks fixes --- buildVars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildVars.py b/buildVars.py index 84a8253c..f782217c 100644 --- a/buildVars.py +++ b/buildVars.py @@ -106,4 +106,4 @@ # with keys inside recording the following attributes: # displayName (name of the speech dictionary shown to users and translatable), # mandatory (True when always enabled, False when not). -speechDictionaries: SpeechDictionaries = {} \ No newline at end of file +speechDictionaries: SpeechDictionaries = {} From 0ff997776250854a88fc7388db3e0d328d66a358 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 11 Jul 2026 08:21:16 +0200 Subject: [PATCH 27/29] Update prek --- prek.toml | 9 ++------- pyproject.toml | 2 +- uv.lock | 38 +++++++++++++++++++------------------- 3 files changed, 22 insertions(+), 27 deletions(-) diff --git a/prek.toml b/prek.toml index 3a8a2055..863f80a1 100644 --- a/prek.toml +++ b/prek.toml @@ -2,14 +2,9 @@ # See https://prek.j178.dev for more information. #:schema https://www.schemastore.org/prek.json -ci = { - autoupdate_schedule = "monthly", - autoupdate_commit_msg = "Pre-commit auto-update", - autofix_commit_msg = "Pre-commit auto-fix", - submodules = true - } default_language_version = { python = "python3.13" } - +[update] +cooldown_days = 7 [[repos]] repo = "meta" hooks = [ diff --git a/pyproject.toml b/pyproject.toml index 14b7853d..3b8fc036 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ dependencies = [ # Lint "uv==0.11.15", "ruff==0.14.5", - "prek==0.4.4", + "prek==0.4.8", "pyright[nodejs]==1.1.407", "requests==2.33.0", ] diff --git a/uv.lock b/uv.lock index 055093d8..720600f7 100644 --- a/uv.lock +++ b/uv.lock @@ -30,7 +30,7 @@ requires-dist = [ { name = "mdx-gh-links", specifier = "==0.4" }, { name = "mdx-truly-sane-lists", specifier = "==1.3" }, { name = "nh3", specifier = "==0.3.2" }, - { name = "prek", specifier = "==0.4.4" }, + { name = "prek", specifier = "==0.4.8" }, { name = "pyright", extras = ["nodejs"], specifier = "==1.1.407" }, { name = "requests", specifier = "==2.33.0" }, { name = "ruff", specifier = "==0.14.5" }, @@ -227,26 +227,26 @@ wheels = [ [[package]] name = "prek" -version = "0.4.4" +version = "0.4.8" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/f6/13/3d71b3adbf385f7dc7fb6e16d6e25421fd8398b45d8f8410a328bf22bd3f/prek-0.4.4.tar.gz", hash = "sha256:4ec5771153d158a0e4473933b7fd9b51e1b1f57f2df50aeb7560ea6812226dc5", size = 470641, upload-time = "2026-06-04T07:26:07.199Z" } +sdist = { url = "https://files.pythonhosted.org/packages/8e/46/e436a6eb9fdb4d3fd08d0ab7fdba19fe03a9e994ec810de57869b853bd8e/prek-0.4.8.tar.gz", hash = "sha256:d15d8bef72ab7b02c7dc01458ac9e05b3131534492b5ce9bb11c4f6f636fa868", size = 494570, upload-time = "2026-07-04T12:05:10.941Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/06/9f/68a577888edf7f2647a652b02899508ccd84e57ce1f79c51a44edfd308d7/prek-0.4.4-py3-none-linux_armv6l.whl", hash = "sha256:23cfd96a25de1c93e3c43c746643b80489e3b2fa49ca9c0ffd6022e51535c900", size = 5550271, upload-time = "2026-06-04T07:26:17.834Z" }, - { url = "https://files.pythonhosted.org/packages/35/b8/5427a0023116343a8d787b446536a7fddfa5db7eec7713dd05618da2bdfe/prek-0.4.4-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:a427b792c4436f49732b1f6ebccf221fdcc6390c148474280da9c2c6eaabc9c4", size = 5910136, upload-time = "2026-06-04T07:26:20.616Z" }, - { url = "https://files.pythonhosted.org/packages/9d/4f/d751e90b7e768e472e054cd41cbe502589436ca9c1a13bfe4fa9513f9cde/prek-0.4.4-py3-none-macosx_11_0_arm64.whl", hash = "sha256:b998038fc92c990e03147eb5b95b0f2c394517f8857ab911aac8e092f1b9b3ab", size = 5470124, upload-time = "2026-06-04T07:26:29.23Z" }, - { url = "https://files.pythonhosted.org/packages/c6/fe/e73241c5777b6f9b6b95132febbd27f9be9e89912e9e93c0982680593af2/prek-0.4.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:9cebca8c15da4f1d6e3a25e6ae0611425c8596e926222050f2588c390e42df8a", size = 5732725, upload-time = "2026-06-04T07:26:19.133Z" }, - { url = "https://files.pythonhosted.org/packages/ca/a3/329bd910e7e5d9d0eb5e571f3ba48023213744e78411afb81f5ef8356cab/prek-0.4.4-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c8742ac26363e74c855df6215a709d5db183204d00ac0f1a722b13aed4da3cd0", size = 5457953, upload-time = "2026-06-04T07:26:23.41Z" }, - { url = "https://files.pythonhosted.org/packages/3d/f8/d642990513d9707398506bad45d39173d84266231f7d919899f694aefe2c/prek-0.4.4-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a2b7c8710546a1e894afa7ab022030cd4e21f1ee7ffb301b4360773d22f1f00f", size = 5860556, upload-time = "2026-06-04T07:26:11.692Z" }, - { url = "https://files.pythonhosted.org/packages/8d/17/a2e29cb278503a8c18612d8a62a15020648dc768e2e94bc4b4d4c9411e07/prek-0.4.4-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e02bd4d5e05c500e4d9f70f024e30d13aa361dc490724b7f476d2e35542c239f", size = 6652492, upload-time = "2026-06-04T07:26:09.962Z" }, - { url = "https://files.pythonhosted.org/packages/ab/10/ad3270b18135ee5d1af6f6cf4b0c8601b1cc2cb38d16e835081da820833a/prek-0.4.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3f3a25041733de987a47e5a7bace47182a6f0e2ae5f960cb54c1d4630afd2591", size = 6113837, upload-time = "2026-06-04T07:26:24.873Z" }, - { url = "https://files.pythonhosted.org/packages/59/d9/e8c201b9b41c4561673cea01c630ab604df89d13e952f87dbcb807d32588/prek-0.4.4-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:0b04a0f36d07474f2a9fc5b1ba1197a1b326b2b211f39cd74cf0d4613545f7f4", size = 5729155, upload-time = "2026-06-04T07:26:26.194Z" }, - { url = "https://files.pythonhosted.org/packages/e8/cd/227b0494fcbc91e8fe15c2a4db9e6dfff95314ef38db3e40e6ea96db249d/prek-0.4.4-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:f032ccbe2d6edc345f81a6d772c18cc169d63c27b5a8292bfe416b352bdfee57", size = 5590775, upload-time = "2026-06-04T07:26:22.038Z" }, - { url = "https://files.pythonhosted.org/packages/cc/e0/9d750b9cf21ece884afdc15668d0f005a36588fe1b0bb5ff4a8112ab51cb/prek-0.4.4-py3-none-musllinux_1_1_armv7l.whl", hash = "sha256:bad3586fcea3e913f0edf2e8f132f97889e03976b7ee3d120fd294ad4e89a5eb", size = 5437864, upload-time = "2026-06-04T07:26:30.673Z" }, - { url = "https://files.pythonhosted.org/packages/3a/48/e2e5c0299590ad18a253c0ac09508b615baa1b382010c511186572f711d3/prek-0.4.4-py3-none-musllinux_1_1_i686.whl", hash = "sha256:4058638532c6dcbf0076d23b9264cbdd9f0f0e320762e237a6b9e4e4b854a766", size = 5718579, upload-time = "2026-06-04T07:26:27.786Z" }, - { url = "https://files.pythonhosted.org/packages/54/48/7fb3d4e7f664d1ce8ae35ec553872ffddf9fab4c5081735fdaae610b1e7c/prek-0.4.4-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:619bab14071670249777deea0cc0b29d904c4a514cf33b20e583900a544f0399", size = 6231622, upload-time = "2026-06-04T07:26:16.309Z" }, - { url = "https://files.pythonhosted.org/packages/46/c0/a4ddbf38034afe67cfa97c4bd81c86429ada098e7c323218d9f9fd061566/prek-0.4.4-py3-none-win32.whl", hash = "sha256:143154b329c05b2f9fa3230e604d02d9c4297dd43f96135a8ba166772e8ecd60", size = 5240317, upload-time = "2026-06-04T07:26:08.726Z" }, - { url = "https://files.pythonhosted.org/packages/bc/8c/fe97b5b095187bb2f93bbe406bccf108c879e5e4c83f165809b0d16ce0fb/prek-0.4.4-py3-none-win_amd64.whl", hash = "sha256:c38c5140ae2ea55ebb02e6ca590a416664ea1af287cdd21f54daeec53a81015a", size = 5626104, upload-time = "2026-06-04T07:26:14.81Z" }, - { url = "https://files.pythonhosted.org/packages/25/63/3586226d536796e65f8e725b531d6104e55caaa18659bdcb512661629586/prek-0.4.4-py3-none-win_arm64.whl", hash = "sha256:3efa28fb37b9ddbafb7759da8d497f0d36cf02a05816e15d6541f5669d5d2114", size = 5470399, upload-time = "2026-06-04T07:26:13.231Z" }, + { url = "https://files.pythonhosted.org/packages/5c/78/b4149c8913ced2e42debb49e261c4788a1ce431e84226921c2e1a7ea8545/prek-0.4.8-py3-none-linux_armv6l.whl", hash = "sha256:1f8f8cdc65836b571824c965daebb81b449f7e4a43894c58621f5708d5a185ed", size = 5668955, upload-time = "2026-07-04T12:04:41.588Z" }, + { url = "https://files.pythonhosted.org/packages/76/5f/7f54a0087b6b2f1751aeb41266d9c15e66fd0055492814798ab818cd0414/prek-0.4.8-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:bce1798e96d9e3a6e6abf435da7107e81452f69edb3ca7c6f90a457355ea46e2", size = 6030947, upload-time = "2026-07-04T12:04:43.8Z" }, + { url = "https://files.pythonhosted.org/packages/6c/d6/f2829fc3902920c36b764a386fa303e71a8219dac25cb3827c575e84199a/prek-0.4.8-py3-none-macosx_11_0_arm64.whl", hash = "sha256:ab3a52db17254d701c3cebb7eea58c8230aa7c1959aacfd5b5f25de18edb15d1", size = 5572593, upload-time = "2026-07-04T12:04:45.763Z" }, + { url = "https://files.pythonhosted.org/packages/74/8c/c5589955bcd5e3e33b67d8bc3110818cecac82a38fd6bc8b5dfdc5de421c/prek-0.4.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:b3fcfd620523bbc3f51a21d7cd63449f659b9e2cf3582de12dd5949e23227b8f", size = 5847150, upload-time = "2026-07-04T12:04:47.419Z" }, + { url = "https://files.pythonhosted.org/packages/2d/9d/1f2dc91bdb79d2c4714b27eac9477a51490fba5b4731330dbbebc76bd345/prek-0.4.8-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:42e65bc8425e9d7f1691a13ca1da2e07807d1ba76c35740833354b945131689e", size = 5573738, upload-time = "2026-07-04T12:04:49.125Z" }, + { url = "https://files.pythonhosted.org/packages/81/29/69a7b58e16ecbc5f3989bf4b028018d11a82dcdd320b93d6588d72f32aa7/prek-0.4.8-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f578492a8e0c9bc6b4bf6dfbba8716f647d4cd0769bf10ad6cf336e3096fd392", size = 5981054, upload-time = "2026-07-04T12:04:50.842Z" }, + { url = "https://files.pythonhosted.org/packages/63/cc/9b9850a60c22ed18c7755ebd2d72c6eefb37fac58149d09f6adc4691c2cf/prek-0.4.8-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d4335f9d5beb123a3884a7fe34f57c9f0828f4fbb7666beab4298833459b104f", size = 6751350, upload-time = "2026-07-04T12:04:52.529Z" }, + { url = "https://files.pythonhosted.org/packages/01/e5/c425aa7272b430630119e6757def3a2007555ba8cbeb2630e0448e7a8b7f/prek-0.4.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:18a8747df9c602e052881d3efb14dd7f7d62a59bd7277ae5171c9e7661d59d84", size = 6243881, upload-time = "2026-07-04T12:04:54.703Z" }, + { url = "https://files.pythonhosted.org/packages/1c/da/accd3ad07fd2891d3c2777eb42435439fdf11982c51d60f087c0b6b6e102/prek-0.4.8-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:4db639db481d5f854eff9b3d2108889e613b8c15868bcf6bdd777c7cee577436", size = 5848846, upload-time = "2026-07-04T12:04:56.402Z" }, + { url = "https://files.pythonhosted.org/packages/15/00/3477704635249f21f5f98ce444cd7690c2aa9dc8d146a045db88ef2cd8c5/prek-0.4.8-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:c3890a6f92316d2cf44eb50584e8d2b23a596dd70487022e61186a71a2ac0900", size = 5713942, upload-time = "2026-07-04T12:04:58.311Z" }, + { url = "https://files.pythonhosted.org/packages/fb/e6/3ca4fabaebeadc976d9a92d1d9130674265355ea3b728418bad61583b097/prek-0.4.8-py3-none-musllinux_1_1_armv7l.whl", hash = "sha256:fc7e15c24c591a37c6ffce5b25a021b16c299ac2649f183d812b67d665cd6551", size = 5554725, upload-time = "2026-07-04T12:04:59.96Z" }, + { url = "https://files.pythonhosted.org/packages/a5/46/2ab6aaaeff0cedb8955b2e4032071c8712382bdd423bb849718c3720180d/prek-0.4.8-py3-none-musllinux_1_1_i686.whl", hash = "sha256:36fe721704ff0c7624c1167639e23a5fe658bfd38c314f487219c9afd1eeb733", size = 5838595, upload-time = "2026-07-04T12:05:01.861Z" }, + { url = "https://files.pythonhosted.org/packages/ae/8b/91398f2b6cd1629d5d8ca8c85b08eca500814a374313b0193f4aaf6ab6c4/prek-0.4.8-py3-none-musllinux_1_1_x86_64.whl", hash = "sha256:162e544abc394a8124f3a4ad68efee116bad09440e679dbd1675177335c2a432", size = 6357222, upload-time = "2026-07-04T12:05:03.845Z" }, + { url = "https://files.pythonhosted.org/packages/b2/2a/ce5cbfaad36866134a21754640a05ecdba641fcd7ad15aa74cf3443f34f6/prek-0.4.8-py3-none-win32.whl", hash = "sha256:2602e46c8c5da7dfa69f60fcf88c2b57132ac623f49fb08bfb3094298c5f07e3", size = 5354388, upload-time = "2026-07-04T12:05:05.587Z" }, + { url = "https://files.pythonhosted.org/packages/df/03/3bc908bc5f7e430315553e47dfa055f19923a3888f9afe4da19f244b5cbf/prek-0.4.8-py3-none-win_amd64.whl", hash = "sha256:7cb22da60bee41b89c4978c0bea7126a3c0ccc003dae6748cf29b53947815edc", size = 5748221, upload-time = "2026-07-04T12:05:07.559Z" }, + { url = "https://files.pythonhosted.org/packages/dd/a7/4295e6d5f5028171dfeb115ad38ab76bf3fe0c8df91b70d73c79aa760a94/prek-0.4.8-py3-none-win_arm64.whl", hash = "sha256:da70057f577b15d4bd121bf9dd29ee205fd4b4d75a0cafba062e84d7e8b4378b", size = 5574425, upload-time = "2026-07-04T12:05:09.595Z" }, ] [[package]] From 4241e2f15738000a1c06779e7652099ee5b84f45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noelia=20Ruiz=20Mart=C3=ADnez?= Date: Sat, 11 Jul 2026 08:27:46 +0200 Subject: [PATCH 28/29] Bug --- buildVars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildVars.py b/buildVars.py index f782217c..84a8253c 100644 --- a/buildVars.py +++ b/buildVars.py @@ -106,4 +106,4 @@ # with keys inside recording the following attributes: # displayName (name of the speech dictionary shown to users and translatable), # mandatory (True when always enabled, False when not). -speechDictionaries: SpeechDictionaries = {} +speechDictionaries: SpeechDictionaries = {} \ No newline at end of file From c611fc621f1e352a590a333f1d0053acfb6dde9b Mon Sep 17 00:00:00 2001 From: github-actions Date: Sat, 11 Jul 2026 06:28:32 +0000 Subject: [PATCH 29/29] Apply code checks fixes --- buildVars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildVars.py b/buildVars.py index 84a8253c..f782217c 100644 --- a/buildVars.py +++ b/buildVars.py @@ -106,4 +106,4 @@ # with keys inside recording the following attributes: # displayName (name of the speech dictionary shown to users and translatable), # mandatory (True when always enabled, False when not). -speechDictionaries: SpeechDictionaries = {} \ No newline at end of file +speechDictionaries: SpeechDictionaries = {}