Skip to content

Commit 43904be

Browse files
Merge pull request #377 from tpvasconcelos/copilot/review-pull-374
2 parents 334707b + 86a8c8d commit 43904be

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

cicd_utils/cicd/test_helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from plotly import graph_objects as go
1515

1616
if TYPE_CHECKING:
17-
from collections.abc import Iterator
17+
from collections.abc import Generator
1818
from importlib.abc import Loader
1919
from importlib.machinery import ModuleSpec
2020
from types import ModuleType
@@ -41,7 +41,7 @@ def plotly_show_browser(fig: go.Figure, renderer: str = "browser", **kwargs: Any
4141

4242

4343
@contextlib.contextmanager
44-
def patch_plotly_show() -> Iterator[None]:
44+
def patch_plotly_show() -> Generator[None]:
4545
"""Patch the :func:`plotly.io.show()` function to skip any rendering steps
4646
and, instead, simply call
4747
:func:`plotly.io._utils.validate_coerce_fig_to_dict()`.

docs/reference/changelog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ This document outlines the list of changes to ridgeplot between each release. Fo
55
Unreleased changes
66
------------------
77

8-
- ...
8+
### CI/CD
9+
10+
- pre-commit autoupdate ({gh-pr}`374`)
911

1012
---
1113

0 commit comments

Comments
 (0)