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] authored and tjdcs committed Jun 16, 2024
1 parent 6500280 commit 94f34ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions colour/colorimetry/generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,8 @@ def sd_gaussian_fwhm(
SpectralShape(360.0, 780.0, 1.0)
>>> sd[555] # doctest: +SKIP
1.0
>>> sd[530] # doctest: +ELLIPSIS
0.0625...
>>> sd[530] # doctest: +ELLIPSIS
0.062...
"""

settings = {"name": f"{peak_wavelength}nm - {fwhm} FWHM - Gaussian"}
Expand Down Expand Up @@ -543,8 +543,8 @@ def sd_gaussian(
SpectralShape(360.0, 780.0, 1.0)
>>> sd[555] # doctest: +SKIP
1.0
>>> sd[530] # doctest: +ELLIPSIS
0.0625...
>>> sd[530] # doctest: +ELLIPSIS
0.062...
"""

method = validate_method(method, tuple(SD_GAUSSIAN_METHODS))
Expand Down
2 changes: 1 addition & 1 deletion colour/colorimetry/lefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def mesopic_weighting_function(
Examples
--------
>>> mesopic_weighting_function(500, 0.2) # doctest: +ELLIPSIS
0.7052200...
0.7052...
"""

photopic_lef = optional(
Expand Down

0 comments on commit 94f34ae

Please sign in to comment.