Skip to content

Commit 9a044f7

Browse files
committed
Merge remote-tracking branch 'nvaccess/main' into changelog
2 parents bb03c83 + 0df7b32 commit 9a044f7

File tree

5 files changed

+21
-18
lines changed

5 files changed

+21
-18
lines changed

.github/workflows/testCode.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434
shell: cmd
3535
# E2E: test to check the script can be run, no need to actually test the file.
3636
# The internal checks are covered with unit tests.
37-
run: .\runvalidate.bat --dry-run _test/testData/addons/fake/13.0.json tests\testData\nvdaAPIVersions.json
37+
run: .\runvalidate.bat --dry-run tests/testData/addons/fake/13.0.0.json tests/testData/nvdaAPIVersions.json
3838
- name: Get sha256
3939
shell: cmd
4040
# E2E: test to check the script can be run
41-
run: .\runsha.bat tests\testData\fake.nvda-addon
41+
run: .\runsha.bat tests/testData/fake.nvda-addon
4242
- name: Generate json file
4343
shell: cmd
4444
# E2E: test to check the script can be run
45-
run: .\runcreatejson.bat -f tests\testData\fake.nvda-addon --dir tests\testOutput\test_runcreatejson --channel=stable --publisher=fakepublisher --sourceUrl=https://github.com/fake/ --url=https://github.com/fake.nvda-addon --licName="GPL v2" --licUrl="https://www.gnu.org/licenses/gpl-2.0.html"
45+
run: .\runcreatejson.bat -f tests/testData/fake.nvda-addon --dir tests/testOutput/test_runcreatejson --channel=stable --publisher=fakepublisher --sourceUrl=https://github.com/fake/ --url=https://github.com/fake.nvda-addon --licName="GPL v2" --licUrl="https://www.gnu.org/licenses/gpl-2.0.html"

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ repos:
7373

7474
- repo: https://github.com/astral-sh/ruff-pre-commit
7575
# Matches Ruff version in pyproject.
76-
rev: v0.13.0
76+
rev: v0.13.3
7777
hooks:
7878
- id: ruff
7979
name: lint with ruff
@@ -82,13 +82,13 @@ repos:
8282
name: format with ruff
8383

8484
- repo: https://github.com/RobertCraigie/pyright-python
85-
rev: v1.1.405
85+
rev: v1.1.406
8686
hooks:
8787
- id: pyright
8888
name: Check types with pyright
8989

9090
- repo: https://github.com/astral-sh/uv-pre-commit
91-
rev: 0.8.17
91+
rev: 0.8.23
9292
hooks:
9393
- id: uv-lock
9494
name: Verify uv lock file

_validate/validate.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,9 @@ def main():
394394
if errorOutputFile and os.path.exists(errorOutputFile):
395395
os.remove(errorOutputFile)
396396

397+
if not addonFiles:
398+
raise ValueError(f"No files found matching: {args.filePathGlob}")
399+
397400
if not args.dry_run:
398401
anyErrors = False
399402
for filename in addonFiles:

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ configobj = { git = "https://github.com/DiffSK/configobj", rev = "8be54629ee7c26
7878

7979
[dependency-groups]
8080
lint = [
81-
"ruff==0.13.0",
81+
"ruff==0.13.3",
8282
"pre-commit==4.3.0",
83-
"pyright==1.1.405",
83+
"pyright==1.1.406",
8484
]
8585

8686
unit-tests = [

uv.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)