[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-06-28 05:52:06 +00:00
commit 2f4f6ad23f

View file

@ -45,7 +45,6 @@ ALLOW_LOCAL_PREQUANT_PATH_ENV = "UNSLOTH_ALLOW_LOCAL_PREQUANT_PATH"
def _local_prequant_path_allowed() -> bool:
"""Whether a request-supplied local pre-quant *path* may be unpickled (operator opt-in)."""
import os
return (os.environ.get(ALLOW_LOCAL_PREQUANT_PATH_ENV) or "").strip().lower() in {
"1",
"true",