From 03d677e5025e929bc00b5a3e0a7766ae1b583ddf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 24 Aug 2026 16:23:28 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/python-jsonschema/check-jsonschema.git: 0.37.4 → 0.38.0](https://github.com/python-jsonschema/check-jsonschema.git/compare/0.37.4...0.38.0) - [github.com/shellcheck-py/shellcheck-py: v0.11.0.1 → v0.11.0.1-1](https://github.com/shellcheck-py/shellcheck-py/compare/v0.11.0.1...v0.11.0.1-1) - [github.com/abravalheri/validate-pyproject: v0.25 → 0.26](https://github.com/abravalheri/validate-pyproject/compare/v0.25...0.26) - [github.com/astral-sh/ruff-pre-commit: v0.15.22 → v0.16.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.22...v0.16.4) --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b62d60ac..f56d8274 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,7 +43,7 @@ repos: exclude: ^\.bumpversion\.cfg$ - repo: https://github.com/python-jsonschema/check-jsonschema.git - rev: 0.37.4 + rev: 0.38.0 hooks: - id: check-github-actions - id: check-github-workflows @@ -72,7 +72,7 @@ repos: exclude: ^docs/_static/.*\.(js|html)$|^src/ridgeplot/.*\.c$ - repo: https://github.com/shellcheck-py/shellcheck-py - rev: v0.11.0.1 + rev: v0.11.0.1-1 hooks: - id: shellcheck # Exclude zsh scripts (unsupported by shellcheck) @@ -92,7 +92,7 @@ repos: - mdformat-myst - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.25 + rev: '0.26' hooks: - id: validate-pyproject @@ -104,7 +104,7 @@ repos: additional_dependencies: [setuptools-scm] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.22 + rev: v0.16.4 hooks: - id: ruff-format - id: ruff From c9679bdad15f798a0f0d266783e2f6dfe0284d76 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 24 Aug 2026 16:24:02 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/ridgeplot/_figure_factory.py | 2 +- src/ridgeplot/_ridgeplot.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ridgeplot/_figure_factory.py b/src/ridgeplot/_figure_factory.py index 16011810..5b170397 100644 --- a/src/ridgeplot/_figure_factory.py +++ b/src/ridgeplot/_figure_factory.py @@ -125,7 +125,7 @@ def create_ridgeplot( densities: Densities, trace_labels: LabelsArray | ShallowLabelsArray | None, trace_types: TraceTypesArray | ShallowTraceTypesArray | TraceType, - row_labels: Collection[str] | None | Literal[False], + row_labels: Collection[str] | Literal[False] | None, colorscale: ColorScale | Collection[Color] | str | None, colormode: Literal["fillgradient"] | SolidColormode, color_discrete_map: dict[str, str] | None, diff --git a/src/ridgeplot/_ridgeplot.py b/src/ridgeplot/_ridgeplot.py index 6bbbc185..dcbea49c 100644 --- a/src/ridgeplot/_ridgeplot.py +++ b/src/ridgeplot/_ridgeplot.py @@ -102,7 +102,7 @@ def ridgeplot( densities: Densities | ShallowDensities | None = None, trace_type: TraceTypesArray | ShallowTraceTypesArray | TraceType | None = None, labels: LabelsArray | ShallowLabelsArray | None = None, - row_labels: Collection[str] | None | Literal[False] = None, + row_labels: Collection[str] | Literal[False] | None = None, # KDE parameters kernel: str = "gau", bandwidth: KDEBandwidth = "normal_reference", @@ -123,7 +123,7 @@ def ridgeplot( xpad: float = 0.05, template: PlotlyTemplate | None = None, # Deprecated parameters - coloralpha: float | None | MissingType = MISSING, + coloralpha: float | MissingType | None = MISSING, linewidth: float | MissingType = MISSING, show_yticklabels: bool | MissingType = MISSING, ) -> go.Figure: