Skip to content

Commit eba0f51

Browse files
[pre-commit.ci] pre-commit suggestions (#210)
* [pre-commit.ci] pre-commit suggestions updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0) - [github.com/psf/black: 24.4.2 → 24.10.0](psf/black@24.4.2...24.10.0) - [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.8.6](astral-sh/ruff-pre-commit@v0.5.0...v0.8.6) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent c805233 commit eba0f51

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ ci:
1111

1212
repos:
1313
- repo: https://github.com/pre-commit/pre-commit-hooks
14-
rev: v4.6.0
14+
rev: v5.0.0
1515
hooks:
1616
- id: trailing-whitespace
1717
- id: check-added-large-files
1818

1919
- repo: https://github.com/psf/black
20-
rev: 24.4.2
20+
rev: 24.10.0
2121
hooks:
2222
- id: black
2323
name: "Black: The uncompromising Python code formatter"
@@ -30,7 +30,7 @@ repos:
3030
args: ["--profile", "black"]
3131

3232
- repo: https://github.com/astral-sh/ruff-pre-commit
33-
rev: v0.5.0
33+
rev: v0.8.6
3434
hooks:
3535
# Run the linter.
3636
- id: ruff

scripts/process-benchmarks.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
"format = '%Y-%M-%dT%H:%M:%S'\n",
246246
"now = datetime.now().replace(tzinfo=timezone.utc).strftime(format)\n",
247247
"\n",
248-
"Path(f\"results.json\").write_text(json.dumps(json_results, indent=2))\n",
248+
"Path(\"results.json\").write_text(json.dumps(json_results, indent=2))\n",
249249
"Path(f\"results-{now}.json\").write_text(json.dumps(json_results, indent=2))\n",
250250
"\n",
251251
"print(json_results[-1], len(json_results))\n",

0 commit comments

Comments
 (0)