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] 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