[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-03-25 05:28:27 +00:00
commit fbf904d304
2 changed files with 3 additions and 2 deletions

View file

@ -3394,7 +3394,9 @@ class UnslothTrainer:
"""
config_path = os.path.join(output_dir, "adapter_config.json")
if not os.path.exists(config_path):
logger.info("No adapter_config.json found -- skipping training method patch")
logger.info(
"No adapter_config.json found -- skipping training method patch"
)
return
try:

View file

@ -76,7 +76,6 @@ def _safe_print(*args: object, **kwargs: object) -> None:
)
# -- Color support ------------------------------------------------------