Skip to content

Commit

Permalink
Fix static typing annotations.
Browse files Browse the repository at this point in the history
  • Loading branch information
KelSolaar committed Sep 12, 2024
1 parent 055ba6d commit 7f785f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion opencolorio_config_aces/config/cg/generate/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,9 @@ def view_filterer(transform):
logging.critical(error)

if dependency_versions.ocio.minor <= 3:
config = ocio.Config.CreateFromFile(str(build_directory / config_basename))
config = ocio.Config.CreateFromFile( # pyright:ignore
str(build_directory / config_basename)
)
view_transforms = list(config.getViewTransforms())
view_transforms = [view_transforms[-1], *view_transforms[:-1]]
config.clearViewTransforms()
Expand Down

0 comments on commit 7f785f8

Please sign in to comment.