From 7e2e8422e4236a2cf848f7ad1ca0be880979e275 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 03:49:03 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- docker/unsloth_nb_content_sig.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docker/unsloth_nb_content_sig.py b/docker/unsloth_nb_content_sig.py index 832eef12a9..6d1444342d 100644 --- a/docker/unsloth_nb_content_sig.py +++ b/docker/unsloth_nb_content_sig.py @@ -27,17 +27,17 @@ import sys # Lowercased substrings that mark a markdown cell as top/bottom boilerplate. _BOILERPLATE_MD = ( - "to run this, press", # Colab/AMD run announcement + "to run this, press", # Colab/AMD run announcement 'press "*runtime*"', - "### news", # News heading - "introducing **unsloth studio**", # rotating announcement body - "you will learn how to do", # announcement tail - "this notebook is licensed", # announcement license line - "and we're done", # footer opener + "### news", # News heading + "introducing **unsloth studio**", # rotating announcement body + "you will learn how to do", # announcement tail + "this notebook is licensed", # announcement license line + "and we're done", # footer opener "this notebook and all unsloth notebooks are licensed", # footer license - "join discord if you need help", # footer - "star us on", # footer - "some other resources", # footer resources block + "join discord if you need help", # footer + "star us on", # footer + "some other resources", # footer resources block ) @@ -73,7 +73,7 @@ def _is_boilerplate(cell): def middle_digest(path): """sha256 over the (type, source) of every non-boilerplate cell, or None.""" try: - with open(path, "r", encoding="utf-8") as f: + with open(path, "r", encoding = "utf-8") as f: nb = json.load(f) except Exception: return None