File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ()
You can’t perform that action at this time.
0 commit comments