Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 11, 2025
1 parent fcad729 commit c984dc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/rgb_colourspace_chromatically_adapted_primaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def update_url_query_on_state_change(
f"""
function(n_clicks) {{
var primariesOutput = document.getElementById(\
"{_uid('primaries-output')}");
"{_uid("primaries-output")}");
var content = primariesOutput.textContent;
navigator.clipboard.writeText(content).then(function() {{
}}, function() {{
Expand Down
6 changes: 2 additions & 4 deletions apps/rgb_colourspace_transformation_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,7 @@ def slugify(string: str) -> str:

M_f = TEMPLATE_NUKE_NODE_COLORMATRIX.format(
name=(
f"{slugify(input_colourspace)}"
f"__to__"
f"{slugify(output_colourspace)}"
f"{slugify(input_colourspace)}__to__{slugify(output_colourspace)}"
),
matrix=nuke_format_matrix(M, decimals),
)
Expand Down Expand Up @@ -439,7 +437,7 @@ def update_url_query_on_state_change(
f"""
function(n_clicks) {{
var rgbColourspaceTransformationMatrixOutput = document.getElementById(\
"{_uid('rgb-colourspace-transformation-matrix-output')}");
"{_uid("rgb-colourspace-transformation-matrix-output")}");
var content = rgbColourspaceTransformationMatrixOutput.textContent;
navigator.clipboard.writeText(content).then(function() {{
}}, function() {{
Expand Down

0 comments on commit c984dc6

Please sign in to comment.