Skip to content

Commit

Permalink
Update pre-commit hook versions (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwtoews authored Mar 3, 2025
1 parent 69f075b commit cd57d41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.30.0
rev: 0.31.2
hooks:
- id: check-github-workflows
args: ["--verbose"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.9.9
hooks:
# Run the linter.
# Run the linter
- id: ruff
args: [ --fix ]
# Run the formatter.
# Run the formatter
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.1
rev: v1.15.0
hooks:
- id: mypy
exclude: 'docs/.'
2 changes: 1 addition & 1 deletion benchmarks/benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class Rtree(_Rtree):
t = timeit.Timer(
stmt=s, setup="from __main__ import points, disk_index, bbox, insert_object"
)
print("Disk-based Rtree Intersection " "without Item() wrapper (objects='raw'):")
print("Disk-based Rtree Intersection without Item() wrapper (objects='raw'):")
result = list(disk_index.intersection(bbox, objects="raw"))
print(len(result), "raw hits")
print(f"{1e6 * t.timeit(number=TEST_TIMES) / TEST_TIMES:.2f} usec/pass")
Expand Down

0 comments on commit cd57d41

Please sign in to comment.