From 2d505ba8181a441726f986a3a9ce2791bbe8c1f9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 11 Nov 2023 05:46:02 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- colour/adaptation/fairchild2020.py | 5 +++-- colour/adaptation/tests/test_fairchild2020.py | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/colour/adaptation/fairchild2020.py b/colour/adaptation/fairchild2020.py index 16399fc1a..159c0c938 100644 --- a/colour/adaptation/fairchild2020.py +++ b/colour/adaptation/fairchild2020.py @@ -17,10 +17,12 @@ from __future__ import annotations +from collections import namedtuple + import numpy as np from colour.adaptation import CHROMATIC_ADAPTATION_TRANSFORMS -from colour.algebra import matrix_dot, vector_dot, sdiv, sdiv_mode +from colour.algebra import matrix_dot, sdiv, sdiv_mode, vector_dot from colour.hints import ArrayLike, Literal, NDArrayFloat from colour.utilities import ( CanonicalMapping, @@ -30,7 +32,6 @@ to_domain_1, validate_method, ) -from collections import namedtuple __author__ = "Colour Developers" __copyright__ = "Copyright 2013 Colour Developers" diff --git a/colour/adaptation/tests/test_fairchild2020.py b/colour/adaptation/tests/test_fairchild2020.py index 930c47465..295fb8519 100644 --- a/colour/adaptation/tests/test_fairchild2020.py +++ b/colour/adaptation/tests/test_fairchild2020.py @@ -3,13 +3,14 @@ Define the unit tests for the :mod:`colour.adaptation.fairchild2020` module. """ -import numpy as np import unittest from itertools import product +import numpy as np + from colour.adaptation import ( - matrix_chromatic_adaptation_vk20, chromatic_adaptation_vK20, + matrix_chromatic_adaptation_vk20, ) from colour.adaptation.fairchild2020 import ( CONDITIONS_DEGREE_OF_ADAPTATION_VK20,