From f5ce5aa94f5beb354495c4feb831cc24dc969081 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Jul 2025 17:45:12 +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: v3.2.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v3.2.0...v5.0.0) - [github.com/pycqa/isort: 5.12.0 → 6.0.1](https://github.com/pycqa/isort/compare/5.12.0...6.0.1) - [github.com/pycqa/autoflake: v2.0.1 → v2.3.1](https://github.com/pycqa/autoflake/compare/v2.0.1...v2.3.1) - [github.com/psf/black: 23.1.0 → 25.1.0](https://github.com/psf/black/compare/23.1.0...25.1.0) - [github.com/pycqa/flake8: 6.0.0 → 7.3.0](https://github.com/pycqa/flake8/compare/6.0.0...7.3.0) - [github.com/keith/pre-commit-buildifier: 6.0.0 → 8.2.0](https://github.com/keith/pre-commit-buildifier/compare/6.0.0...8.2.0) - [github.com/pre-commit/mirrors-clang-format: v15.0.7 → v20.1.8](https://github.com/pre-commit/mirrors-clang-format/compare/v15.0.7...v20.1.8) --- .pre-commit-config.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8ad6e5a..062add2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,28 +2,28 @@ exclude: (.*\.patch) repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.2.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 6.0.1 hooks: - id: isort name: isort (python) - repo: https://github.com/pycqa/autoflake - rev: v2.0.1 + rev: v2.3.1 hooks: - id: autoflake args: [--remove-unused-variables] - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 25.1.0 hooks: - id: black - repo: https://github.com/pycqa/flake8 - rev: 6.0.0 + rev: 7.3.0 hooks: - id: flake8 exclude: ^bazel- @@ -32,11 +32,11 @@ repos: hooks: - id: pydocstyle - repo: https://github.com/keith/pre-commit-buildifier - rev: 6.0.0 + rev: 8.2.0 hooks: - id: buildifier - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v15.0.7 + rev: v20.1.8 hooks: - id: clang-format "types_or": [c++, c, cuda] From e2c9b9356d3184621533d7f3fbd023647400425c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Jul 2025 17:45:51 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- python/dbscan_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/dbscan_test.py b/python/dbscan_test.py index 52d49d3..1133350 100644 --- a/python/dbscan_test.py +++ b/python/dbscan_test.py @@ -1,4 +1,5 @@ """Tests of DBSCAN C++ modules from Python.""" + import sys import numpy as np