refactor: use doctype File directly instead of save_file from file_manager.py by Mutantpenguin [frappe] PR#41708
From: https://github.com/frappe/erpnext/pull/41708
Date: 2024-04-04 10:31:34+02:00
- fix:
🐛 use doctype File directly instead of save_file from file_manager.py
Diagnostics
pre-commit failed for source commit: a2f878e1d1a319c1136cbb7085823a1b75b9da7c
Run ruff formatter.......................................................Failed
- hook id: ruff-format
- files were modified by this hook
1 file reformatted
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-41708
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-41708
# Make changes then rebase
git rebase -i develop
# Fix or ignore conflicts
git checkout --theirs .
git rebase --continue
# Force-push changes
git push --force-with-lease