Skip to content

Commit 3dbae30

Browse files
Merge pull request #374 from tpvasconcelos/pre-commit-ci-update-config
2 parents a1cd14e + 43904be commit 3dbae30

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ repos:
4343
exclude: ^\.bumpversion\.cfg$
4444

4545
- repo: https://github.com/python-jsonschema/check-jsonschema.git
46-
rev: 0.37.1
46+
rev: 0.37.2
4747
hooks:
4848
- id: check-github-actions
4949
- id: check-github-workflows
@@ -104,7 +104,7 @@ repos:
104104
additional_dependencies: [setuptools-scm]
105105

106106
- repo: https://github.com/astral-sh/ruff-pre-commit
107-
rev: v0.15.9
107+
rev: v0.15.13
108108
hooks:
109109
- id: ruff-format
110110
- id: ruff

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)