diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2c19800..f8df946 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,6 +29,9 @@ repos: rev: 23.9.1 hooks: - id: black + - id: black-jupyter + args: [--line-length=85] + types_or: [jupyter] - repo: https://github.com/editorconfig-checker/editorconfig-checker.python rev: 2.7.2 diff --git a/visualize-benchmark.ipynb b/visualize-benchmark.ipynb index 3c3eba1..6253a17 100644 --- a/visualize-benchmark.ipynb +++ b/visualize-benchmark.ipynb @@ -17,6 +17,7 @@ " with open(filename, \"rb\") as f:\n", " return pickle.load(f)\n", "\n", + "\n", "benchmarks: dict[int | str, TimeitResult] = {}\n", "benchmarks[\"all\"] = load_benchmark(f\"timing_all.pickle\")\n", "for i in range(12):\n", @@ -39,7 +40,7 @@ " # if k % 2 == 0\n", " # if k < 6\n", " }\n", - ")\n" + ")" ] }, {