From aed28cbf1308f8b4cb0c2381e131977ae7dd6aff Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Aug 2026 21:31:38 +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/astral-sh/ruff-pre-commit: v0.16.2 → v0.16.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.16.2...v0.16.3) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ffb8feb..5609d05 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: - id: no-commit-to-branch args: ["--branch=main"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.2 + rev: v0.16.3 hooks: - id: ruff-check args: ["--fix"] From 26ce997ed77cc29309c81e14f6131abda906fa72 Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Tue, 18 Aug 2026 09:13:12 +0200 Subject: [PATCH 2/2] fix types --- examples/rnn_dbscan_simple.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/rnn_dbscan_simple.py b/examples/rnn_dbscan_simple.py index c2cae23..ec1f3cd 100644 --- a/examples/rnn_dbscan_simple.py +++ b/examples/rnn_dbscan_simple.py @@ -59,7 +59,7 @@ for k, col in zip(unique_labels, colors): if k == -1: # Black used for noise. - col = [0, 0, 0, 1] + col = (0.0, 0.0, 0.0, 1.0) class_member_mask = labels == k @@ -68,7 +68,7 @@ xy[:, 0], xy[:, 1], "o", - markerfacecolor=tuple(col), + markerfacecolor=col, markeredgecolor="k", markersize=14, ) @@ -78,7 +78,7 @@ xy[:, 0], xy[:, 1], "o", - markerfacecolor=tuple(col), + markerfacecolor=col, markeredgecolor="k", markersize=6, )