Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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-
Expand All @@ -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]
1 change: 1 addition & 0 deletions python/dbscan_test.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests of DBSCAN C++ modules from Python."""

import sys

import numpy as np
Expand Down
Loading