Skip to content

Commit 3afffa2

Browse files
[pre-commit.ci] pre-commit autoupdate (#66)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Phil Schaf <[email protected]>
1 parent 0d0bf33 commit 3afffa2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repos:
1313
- id: no-commit-to-branch
1414
args: ["--branch=main"]
1515
- repo: https://github.com/astral-sh/ruff-pre-commit
16-
rev: v0.7.4
16+
rev: v0.8.0
1717
hooks:
1818
- id: ruff
1919
args: ["--fix"]

examples/rnn_dbscan_simple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,5 @@
8181
markersize=6,
8282
)
8383

84-
plt.title("Estimated number of clusters: %d" % n_clusters_)
84+
plt.title(f"Estimated number of clusters: {n_clusters_}")
8585
plt.show()

src/sklearn_ann/kneighbors/sklearn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
BruteTransformer = partial(KNeighborsTransformer, algorithm="brute")
88

99

10-
__all__ = ["BallTreeTransformer", "KDTreeTransformer", "BruteTransformer"]
10+
__all__ = ["BallTreeTransformer", "BruteTransformer", "KDTreeTransformer"]

0 commit comments

Comments
 (0)