Skip to content

Commit cd57d41

Browse files
authored
Update pre-commit hook versions (#352)
1 parent 69f075b commit cd57d41

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.pre-commit-config.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ repos:
88
- id: end-of-file-fixer
99
- id: trailing-whitespace
1010
- repo: https://github.com/python-jsonschema/check-jsonschema
11-
rev: 0.30.0
11+
rev: 0.31.2
1212
hooks:
1313
- id: check-github-workflows
1414
args: ["--verbose"]
1515
- repo: https://github.com/astral-sh/ruff-pre-commit
16-
rev: v0.8.6
16+
rev: v0.9.9
1717
hooks:
18-
# Run the linter.
18+
# Run the linter
1919
- id: ruff
2020
args: [ --fix ]
21-
# Run the formatter.
21+
# Run the formatter
2222
- id: ruff-format
2323
- repo: https://github.com/pre-commit/mirrors-mypy
24-
rev: v1.14.1
24+
rev: v1.15.0
2525
hooks:
2626
- id: mypy
2727
exclude: 'docs/.'

benchmarks/benchmarks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class Rtree(_Rtree):
164164
t = timeit.Timer(
165165
stmt=s, setup="from __main__ import points, disk_index, bbox, insert_object"
166166
)
167-
print("Disk-based Rtree Intersection " "without Item() wrapper (objects='raw'):")
167+
print("Disk-based Rtree Intersection without Item() wrapper (objects='raw'):")
168168
result = list(disk_index.intersection(bbox, objects="raw"))
169169
print(len(result), "raw hits")
170170
print(f"{1e6 * t.timeit(number=TEST_TIMES) / TEST_TIMES:.2f} usec/pass")

0 commit comments

Comments
 (0)