From 4c00912686bd7ccdaf5677ecf30b2bbcf56baf41 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 7 Feb 2023 07:15:05 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../index.rst | 12 +++++++++--- output/posts/the-road-to-stable/index.rst | 9 +++++++-- .../physical-lighting-quantities-tying-both-ends.rst | 12 +++++++++--- posts/the-road-to-stable.rst | 9 +++++++-- 4 files changed, 32 insertions(+), 10 deletions(-) diff --git a/output/posts/physical-lighting-quantities-tying-both-ends/index.rst b/output/posts/physical-lighting-quantities-tying-both-ends/index.rst index 155919c75..ad71ba636 100644 --- a/output/posts/physical-lighting-quantities-tying-both-ends/index.rst +++ b/output/posts/physical-lighting-quantities-tying-both-ends/index.rst @@ -96,7 +96,9 @@ implements the aforementioned model with Python: .. code:: python >>> import colour_hdri - >>> colour_hdri.saturation_based_speed_focal_plane_exposure(18, 5.6, 0.25, 400) + >>> colour_hdri.saturation_based_speed_focal_plane_exposure( + ... 18, 5.6, 0.25, 400 + ... ) 0.46993364546604555 `Colour - Nuke `__ @@ -148,9 +150,13 @@ implements support for absolute luminance calibration with Python: >>> import numpy as np >>> RGB = np.ones([2048, 1024, 3]) >>> colour_hdri.upper_hemisphere_illuminance_Lagarde2016(RGB) - >>> colour_hdri.absolute_luminance_calibration_Lagarde2016(RGB, 120000)[0, 0] + >>> colour_hdri.absolute_luminance_calibration_Lagarde2016(RGB, 120000)[ + ... 0, 0 + ... ] array([ 38215.85392444, 38215.85392444, 38215.85392444]) - >>> colour_hdri.calibration.absolute_luminance.upper_hemisphere_illuminance_Lagarde2016(RGB) + >>> colour_hdri.calibration.absolute_luminance.upper_hemisphere_illuminance_Lagarde2016( + ... RGB + ... ) 3.1400580564615663 .. class:: alert alert-dismissible alert-info diff --git a/output/posts/the-road-to-stable/index.rst b/output/posts/the-road-to-stable/index.rst index b28265905..93e265795 100644 --- a/output/posts/the-road-to-stable/index.rst +++ b/output/posts/the-road-to-stable/index.rst @@ -56,8 +56,13 @@ The following example showcases the current implementation, defining metadata fo V = np.asarray(V) - R_Y = (1.2219 * V - 0.23111 * (V * V) + 0.23951 * (V ** 3) - 0.021009 * - (V ** 4) + 0.0008404 * (V ** 5)) + R_Y = ( + 1.2219 * V + - 0.23111 * (V * V) + + 0.23951 * (V**3) + - 0.021009 * (V**4) + + 0.0008404 * (V**5) + ) return R_Y diff --git a/posts/physical-lighting-quantities-tying-both-ends.rst b/posts/physical-lighting-quantities-tying-both-ends.rst index 155919c75..ad71ba636 100644 --- a/posts/physical-lighting-quantities-tying-both-ends.rst +++ b/posts/physical-lighting-quantities-tying-both-ends.rst @@ -96,7 +96,9 @@ implements the aforementioned model with Python: .. code:: python >>> import colour_hdri - >>> colour_hdri.saturation_based_speed_focal_plane_exposure(18, 5.6, 0.25, 400) + >>> colour_hdri.saturation_based_speed_focal_plane_exposure( + ... 18, 5.6, 0.25, 400 + ... ) 0.46993364546604555 `Colour - Nuke `__ @@ -148,9 +150,13 @@ implements support for absolute luminance calibration with Python: >>> import numpy as np >>> RGB = np.ones([2048, 1024, 3]) >>> colour_hdri.upper_hemisphere_illuminance_Lagarde2016(RGB) - >>> colour_hdri.absolute_luminance_calibration_Lagarde2016(RGB, 120000)[0, 0] + >>> colour_hdri.absolute_luminance_calibration_Lagarde2016(RGB, 120000)[ + ... 0, 0 + ... ] array([ 38215.85392444, 38215.85392444, 38215.85392444]) - >>> colour_hdri.calibration.absolute_luminance.upper_hemisphere_illuminance_Lagarde2016(RGB) + >>> colour_hdri.calibration.absolute_luminance.upper_hemisphere_illuminance_Lagarde2016( + ... RGB + ... ) 3.1400580564615663 .. class:: alert alert-dismissible alert-info diff --git a/posts/the-road-to-stable.rst b/posts/the-road-to-stable.rst index b28265905..93e265795 100644 --- a/posts/the-road-to-stable.rst +++ b/posts/the-road-to-stable.rst @@ -56,8 +56,13 @@ The following example showcases the current implementation, defining metadata fo V = np.asarray(V) - R_Y = (1.2219 * V - 0.23111 * (V * V) + 0.23951 * (V ** 3) - 0.021009 * - (V ** 4) + 0.0008404 * (V ** 5)) + R_Y = ( + 1.2219 * V + - 0.23111 * (V * V) + + 0.23951 * (V**3) + - 0.021009 * (V**4) + + 0.0008404 * (V**5) + ) return R_Y