Skip to content

Commit f000851

Browse files
Disable error for invalid reportAttributeAccessIssue.
1 parent 4fd94d6 commit f000851

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

colour_clf_io/tests/processing/test_common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ def ocio_output_for_file(
6868
"""
6969
import PyOpenColorIO as ocio
7070

71-
xform = ocio.FileTransform(src=path)
72-
cpu = ocio.GetCurrentConfig().getProcessor(xform).getDefaultCPUProcessor()
71+
xform = ocio.FileTransform(src=path) # pyright: ignore[reportAttributeAccessIssue]
72+
cpu = ocio.GetCurrentConfig().getProcessor(xform).getDefaultCPUProcessor() # pyright: ignore[reportAttributeAccessIssue]
7373
result = cpu.applyRGB(rgb)
7474
# Note: depending on the input, `applyRGB` will either return the result data, or
7575
# modify the data in place. If the return value was `None` the data was modified

colour_clf_io/tests/test_clf_parsing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -690,8 +690,8 @@ def test_CLF_from_OCIO(self) -> None:
690690
import PyOpenColorIO as ocio
691691

692692
ocio_transform = (
693-
ocio.Config()
694-
.getProcessor(ocio.BuiltinTransform("ARRI_LOGC4_to_ACES2065-1"))
693+
ocio.Config() # pyright: ignore[reportAttributeAccessIssue]
694+
.getProcessor(ocio.BuiltinTransform("ARRI_LOGC4_to_ACES2065-1")) # pyright: ignore[reportAttributeAccessIssue]
695695
.createGroupTransform()
696696
)
697697
clf_text = ocio_transform.write("Academy/ASC Common LUT Format").encode()

0 commit comments

Comments
 (0)