Skip to content

Adopt NVDA add-on template CI and tooling - #1

Merged
ragb merged 3 commits into
masterfrom
adopt-template-ci
Jul 29, 2026
Merged

Adopt NVDA add-on template CI and tooling#1
ragb merged 3 commits into
masterfrom
adopt-template-ci

Conversation

@ragb

@ragb ragb commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Brings virtualReview onto the same footing as systrayList / the current nvaccess add-on template.

Changes

  • uv dependency management: [project] + PEP 735 dependency groups in pyproject.toml, uv.lock, .python-version.
  • prek.toml (ruff lint/format + pyright hooks), replacing the old .pre-commit-config.yaml.
  • CI: build_addon.yml (build + release on tag, PR checks, pyright skipped in CI as needed) and dependabot.yml.
  • Editor: .vscode workspace config + gettext builtin stubs.
  • Fork/compat: repository & add-on URLs → ragb; readme now states minimum (2019.3) and last-tested (2026.1) NVDA versions separately.
  • Code checks: fixed ruff findings (bare except, one-line if) and applied ruff-format.

Compatibility note

Values were already current — 2019.3 is still a valid store API version and 2026.1 is the current stable NVDA, so no version bump was needed (unlike systrayList). Not moved to 2026.2 since that's experimental (beta-channel only).

Verified locally

uv sync, uv run scons (+ pot) build virtualRevision-2026.05.14.nvda-addon, ruff check clean, ruff format --check clean.

🤖 Generated with Claude Code

ragb and others added 3 commits July 29, 2026 18:19
Bring virtualReview in line with systrayList / the current nvaccess
add-on template:

- uv dependency management: [project] + PEP 735 dependency groups in
  pyproject.toml, uv.lock, .python-version.
- prek.toml (ruff lint/format + pyright hooks), replacing the old
  .pre-commit-config.yaml.
- GitHub Actions: build_addon.yml (build + release on tag, PR checks,
  pyright skipped in CI) and dependabot.yml.
- .vscode workspace config and gettext builtin stubs.
- Point repository/addon URLs to ragb (Rui Fontes' repo is no longer
  writable); state minimum (2019.3) and last-tested (2026.1) NVDA
  versions separately in the readme instead of "2019.3 and beyond".
- Fix ruff findings (bare except, one-line if) and apply ruff-format.

buildVars compatibility values were already current: 2019.3 is still a
valid store API version and 2026.1 is the current stable NVDA.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Run the full prek suite (trailing-whitespace, end-of-file-fixer,
add-trailing-comma, ruff-format) over all pre-existing files so the CI
code-checks step passes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Advance lastTestedNVDAVersion to 2026.2 and release as 2026.07.29.
Note: 2026.2 is an experimental NVDA API version, so a store submission
of this build must use the beta channel.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ragb
ragb merged commit 5bdbc67 into master Jul 29, 2026
2 checks passed
@ragb
ragb deleted the adopt-template-ci branch July 29, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant