From 3f2af97fc6da8cac915c1be320bd857eba4d16c4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 18 Jun 2024 13:13:43 +0200 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#3109) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Phil Schaf --- .pre-commit-config.yaml | 2 +- docs/conf.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 726404867e..3f1fb93af5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.8 + rev: v0.4.9 hooks: - id: ruff types_or: [python, pyi, jupyter] diff --git a/docs/conf.py b/docs/conf.py index 43cbe61647..30dde06a45 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -191,6 +191,7 @@ def setup(app: Sphinx): "scanpy.plotting._dotplot.DotPlot": "scanpy.pl.DotPlot", "scanpy.plotting._stacked_violin.StackedViolin": "scanpy.pl.StackedViolin", "pandas.core.series.Series": "pandas.Series", + "numpy.bool_": "numpy.bool", # Since numpy 2, numpy.bool is the canonical dtype } nitpick_ignore = [