From 89d271f976179e8241a200dc05762e49813c8079 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 20:25:19 +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/pre-commit/pre-commit-hooks: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/3e8a8703264a2f4a69428a0aa4dcb512790b2c8c...v6.0.0) - [github.com/tox-dev/pyproject-fmt: 91de51aef61c5f2383f03da25604e3d65a8309e0 → v2.21.1](https://github.com/tox-dev/pyproject-fmt/compare/91de51aef61c5f2383f03da25604e3d65a8309e0...v2.21.1) - [github.com/abravalheri/validate-pyproject: 4b2e70d08cb2ccd26d1fba73588de41c7a5d50b7 → v0.25](https://github.com/abravalheri/validate-pyproject/compare/4b2e70d08cb2ccd26d1fba73588de41c7a5d50b7...v0.25) - [github.com/sphinx-contrib/sphinx-lint: c883505f64b59c3c5c9375191e4ad9f98e727ccd → v1.0.2](https://github.com/sphinx-contrib/sphinx-lint/compare/c883505f64b59c3c5c9375191e4ad9f98e727ccd...v1.0.2) - [github.com/pycqa/isort: a333737ed43df02b18e6c95477ea1b285b3de15a → 9.0.0a3](https://github.com/pycqa/isort/compare/a333737ed43df02b18e6c95477ea1b285b3de15a...9.0.0a3) - [github.com/psf/black-pre-commit-mirror: fa505ab9c3e0fedafe1709fd7ac2b5f8996c670d → 26.3.1](https://github.com/psf/black-pre-commit-mirror/compare/fa505ab9c3e0fedafe1709fd7ac2b5f8996c670d...26.3.1) - [github.com/tonybaloney/perflint: 22f831509bc7765ce272ad6fcb99398d86a26a52 → 0.8.1](https://github.com/tonybaloney/perflint/compare/22f831509bc7765ce272ad6fcb99398d86a26a52...0.8.1) - [github.com/adamchainz/blacken-docs: fda77690955e9b63c6687d8806bafd56a526e45f → 1.20.0](https://github.com/adamchainz/blacken-docs/compare/fda77690955e9b63c6687d8806bafd56a526e45f...1.20.0) - [github.com/codespell-project/codespell: 2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a → v2.4.2](https://github.com/codespell-project/codespell/compare/2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a...v2.4.2) --- .pre-commit-config.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d655137a..8b3a9640 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # v6.0.0 + rev: v6.0.0 # v6.0.0 hooks: - id: check-json types: [file] # override `types: [json]` @@ -24,43 +24,43 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/tox-dev/pyproject-fmt - rev: 91de51aef61c5f2383f03da25604e3d65a8309e0 # v2.21.1 + rev: v2.21.1 # v2.21.1 hooks: - id: pyproject-fmt - repo: https://github.com/abravalheri/validate-pyproject - rev: 4b2e70d08cb2ccd26d1fba73588de41c7a5d50b7 # v0.25 + rev: v0.25 # v0.25 hooks: - id: validate-pyproject - repo: https://github.com/sphinx-contrib/sphinx-lint - rev: c883505f64b59c3c5c9375191e4ad9f98e727ccd # v1.0.2 + rev: v1.0.2 # v1.0.2 hooks: - id: sphinx-lint types: [rst] - repo: https://github.com/pycqa/isort - rev: a333737ed43df02b18e6c95477ea1b285b3de15a # 8.0.1 + rev: 9.0.0a3 # 8.0.1 hooks: - id: isort additional_dependencies: ["toml"] entry: isort --profile=black name: isort (python) - repo: https://github.com/psf/black-pre-commit-mirror - rev: fa505ab9c3e0fedafe1709fd7ac2b5f8996c670d # 26.3.1 + rev: 26.3.1 # 26.3.1 hooks: - id: black - repo: https://github.com/tonybaloney/perflint - rev: 22f831509bc7765ce272ad6fcb99398d86a26a52 # 0.8.1 + rev: 0.8.1 # 0.8.1 hooks: - id: perflint exclude: ^docs/ - repo: https://github.com/adamchainz/blacken-docs - rev: fda77690955e9b63c6687d8806bafd56a526e45f # 1.20.0 + rev: 1.20.0 # 1.20.0 hooks: - id: blacken-docs args: [--line-length=79] additional_dependencies: - black - repo: https://github.com/codespell-project/codespell - rev: 2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a # v2.4.2 + rev: v2.4.2 # v2.4.2 hooks: - id: codespell args: [--toml pyproject.toml] From e06e44c41b3c39fbf11e52b20cef2c80bfc2e64f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 20:25:55 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docs/data-processing/apis/fastapi/example.rst | 2 -- docs/data-processing/apis/grpc/accounts_server.py | 1 - docs/data-processing/apis/grpc/tests/test_accounts.py | 1 - docs/data-processing/postgresql/sqlalchemy.rst | 2 -- docs/data-processing/serialisation-formats/toml/index.rst | 1 - docs/performance/ds_kmeans.py | 1 - docs/performance/index.rst | 3 --- docs/performance/sp_kmeans.py | 1 - 8 files changed, 12 deletions(-) diff --git a/docs/data-processing/apis/fastapi/example.rst b/docs/data-processing/apis/fastapi/example.rst index e097d687..0f94c9cd 100644 --- a/docs/data-processing/apis/fastapi/example.rst +++ b/docs/data-processing/apis/fastapi/example.rst @@ -16,7 +16,6 @@ Erstellt die Datei :file:`main.py` mit diesem Inhalt: from fastapi import FastAPI - app = FastAPI() @@ -81,7 +80,6 @@ zu erhalten: from fastapi import FastAPI - app = FastAPI() diff --git a/docs/data-processing/apis/grpc/accounts_server.py b/docs/data-processing/apis/grpc/accounts_server.py index 4370e728..35ea8525 100644 --- a/docs/data-processing/apis/grpc/accounts_server.py +++ b/docs/data-processing/apis/grpc/accounts_server.py @@ -3,7 +3,6 @@ # SPDX-License-Identifier: BSD-3-Clause import logging - from concurrent import futures import accounts_pb2 as accounts_messages diff --git a/docs/data-processing/apis/grpc/tests/test_accounts.py b/docs/data-processing/apis/grpc/tests/test_accounts.py index 5761c136..0608f451 100644 --- a/docs/data-processing/apis/grpc/tests/test_accounts.py +++ b/docs/data-processing/apis/grpc/tests/test_accounts.py @@ -6,7 +6,6 @@ import grpc import pytest - from accounts_pb2 import CreateAccountRequest, GetAccountsRequest diff --git a/docs/data-processing/postgresql/sqlalchemy.rst b/docs/data-processing/postgresql/sqlalchemy.rst index 3d00b9ea..cd04f65f 100644 --- a/docs/data-processing/postgresql/sqlalchemy.rst +++ b/docs/data-processing/postgresql/sqlalchemy.rst @@ -44,7 +44,6 @@ Datenbankverbindung from sqlalchemy import create_engine - engine = create_engine("postgresql:///example", echo=True) Datenmodell @@ -56,7 +55,6 @@ Datenmodell from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship - Base = declarative_base() diff --git a/docs/data-processing/serialisation-formats/toml/index.rst b/docs/data-processing/serialisation-formats/toml/index.rst index ef548fde..ebb6a607 100644 --- a/docs/data-processing/serialisation-formats/toml/index.rst +++ b/docs/data-processing/serialisation-formats/toml/index.rst @@ -66,7 +66,6 @@ Beispiel import toml - config = toml.load("pyproject.toml") .. seealso:: diff --git a/docs/performance/ds_kmeans.py b/docs/performance/ds_kmeans.py index 2039e1d1..0c528ca2 100644 --- a/docs/performance/ds_kmeans.py +++ b/docs/performance/ds_kmeans.py @@ -3,7 +3,6 @@ # SPDX-License-Identifier: BSD-3-Clause import numpy as np - from dask import array as da from dask import dataframe as dd diff --git a/docs/performance/index.rst b/docs/performance/index.rst index 4a179198..13ac6776 100644 --- a/docs/performance/index.rst +++ b/docs/performance/index.rst @@ -58,7 +58,6 @@ Beispieldaten können wir uns erstellen mit: from sklearn.datasets import make_blobs - points, labels_true = make_blobs( n_samples=1000, centers=3, random_state=0, cluster_std=0.60 ) @@ -136,7 +135,6 @@ k-Means-Algorithmus gibt es sogar gleich zwei Implementierungen: from sklearn.cluster import KMeans - KMeans(10).fit_predict(points) * `dask_ml.cluster.KMeans @@ -146,7 +144,6 @@ k-Means-Algorithmus gibt es sogar gleich zwei Implementierungen: from dask_ml.cluster import KMeans - KMeans(10).fit(points).predict(points) Gegen diese bestehenden Lösungen könnte bestenfalls sprechen, dass sie einen diff --git a/docs/performance/sp_kmeans.py b/docs/performance/sp_kmeans.py index 901e6182..81f4289a 100644 --- a/docs/performance/sp_kmeans.py +++ b/docs/performance/sp_kmeans.py @@ -4,7 +4,6 @@ import numpy as np import pandas as pd - from scipy.spatial import cKDTree