Skip to content

Commit 08aa643

Browse files
committed
Merge branch 'feature/v0.4.7' into develop
2 parents acdc0d0 + f0c60c1 commit 08aa643

File tree

2 files changed

+1
-37
lines changed

2 files changed

+1
-37
lines changed

colour/temperature/robertson1968.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@
2020
2121
References
2222
----------
23-
- :cite:`AdobeSystems2013` : Adobe Systems. (2013). Adobe DNG Software
24-
Development Kit (SDK) - 1.3.0.0 -
25-
dng_sdk_1_3/dng_sdk/source/dng_temperature.cpp::dng_temperature::\
26-
Set_xy_coord. https://www.adobe.com/support/downloads/dng/dng_sdk.html
2723
- :cite:`Wyszecki2000x` : Wyszecki, Günther, & Stiles, W. S. (2000). Table
2824
1(3.11) Isotemperature Lines. In Color Science: Concepts and Methods,
2925
Quantitative Data and Formulae (p. 228). Wiley. ISBN:978-0-471-39918-6
@@ -220,7 +216,7 @@ def uv_to_CCT_Robertson1968(uv: ArrayLike) -> NDArrayFloat:
220216
221217
References
222218
----------
223-
:cite:`AdobeSystems2013`, :cite:`Wyszecki2000y`
219+
:cite:`Wyszecki2000y`
224220
225221
Examples
226222
--------

colour/utilities/common.py

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,38 +1124,6 @@ def slugify(object_: Any, allow_unicode: bool = False) -> str:
11241124
if is_xxhash_installed():
11251125
import xxhash
11261126

1127-
from colour.utilities.documentation import is_documentation_building
1128-
11291127
int_digest = xxhash.xxh3_64_intdigest
1130-
1131-
if is_documentation_building(): # pragma: no cover
1132-
if typing.TYPE_CHECKING:
1133-
import array
1134-
1135-
def int_digest(
1136-
args: ( # noqa: ARG001
1137-
str | bytes | bytearray | memoryview | array.ArrayType[int]
1138-
),
1139-
seed: int = 0, # noqa: ARG001
1140-
) -> int:
1141-
"""
1142-
Generate an integer digest for the specified argument using
1143-
*xxhash* if available, otherwise fall back to :func:`hash`.
1144-
1145-
Parameters
1146-
----------
1147-
args
1148-
Argument to generate the integer digest of.
1149-
seed
1150-
Seed used to alter the result predictably.
1151-
1152-
Returns
1153-
-------
1154-
:class:`int`
1155-
Integer digest.
1156-
"""
1157-
1158-
return -1
1159-
11601128
else:
11611129
int_digest = hash # pyright: ignore # pragma: no cover

0 commit comments

Comments
 (0)