[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-01-06 10:00:16 +00:00
commit b73f6a9be0

View file

@ -1197,7 +1197,10 @@ def get_statistics(local_files_only = False):
# You can disable this by setting UNSLOTH_DISABLE_STATISTICS
import os
if "UNSLOTH_DISABLE_STATISTICS" in os.environ or os.environ.get("UNSLOTH_USE_MODELSCOPE", "0") == "1":
if (
"UNSLOTH_DISABLE_STATISTICS" in os.environ
or os.environ.get("UNSLOTH_USE_MODELSCOPE", "0") == "1"
):
return
if local_files_only:
return