diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b527df6..10f218d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,17 +3,17 @@ repos: rev: '1.0.1' hooks: - id: flynt -- repo: https://github.com/charliermarsh/ruff-pre-commit - rev: 'v0.0.285' +- repo: https://github.com/astral-sh/ruff-pre-commit + rev: 'v0.8.4' hooks: - id: ruff - repo: https://github.com/psf/black - rev: 23.7.0 + rev: 24.10.0 hooks: - id: black language_version: python3.9 - repo: https://github.com/keewis/blackdoc - rev: v0.3.8 + rev: v0.3.9 hooks: - id: blackdoc language_version: python3.9 diff --git a/apps/common.py b/apps/common.py index 47d3757..c050e4e 100644 --- a/apps/common.py +++ b/apps/common.py @@ -59,7 +59,8 @@ :class:`Dropdown`class instance. """ -TEMPLATE_NUKE_NODE_COLORMATRIX: str = """ +TEMPLATE_NUKE_NODE_COLORMATRIX: str = ( + """ ColorMatrix {{ inputs 0 matrix {{ @@ -70,8 +71,9 @@ xpos 0 ypos 0 }}"""[ - 1: -] + 1: + ] +) """ *The Foundry Nuke* *ColorMatrix* node template. """