Skip to content

Commit 56a6e35

Browse files
committed
Another fix
1 parent 2fa7718 commit 56a6e35

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,5 @@ select = "cp311-manylinux_*64"
138138
test-requires = "mypy~=1.15.0 stubgenlib~=0.1.0"
139139
inherit.test-command = "append"
140140
test-command = [
141-
"python {project}/src/python/generate_stubs.py --out-path '/output' --validate-path '{project}/src/python'",
141+
"python {project}/src/python/generate_stubs.py --out-path '/output' --validate-path '{project}/src/python/stubs/'",
142142
]

src/python/generate_stubs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ def get_colored_diff(old_text: str, new_text: str):
182182

183183
if "GITHUB_ACTIONS" in os.environ and args.validate_path:
184184
validate_path = pathlib.Path(args.validate_path)
185+
validate_path = validate_path.joinpath("OpenImageIO", "__init__.pyi")
185186

186187
print("Validating stubs against repository")
187188
print(f"Comparing {dest_path} to {validate_path}")

0 commit comments

Comments
 (0)