fix: Deadlock on submitting Sales Invoice by rohitwaghchaure [frappe] PR#41417
From: https://github.com/frappe/erpnext/pull/41417
Date: 2024-05-21 10:33:29+05:30
- fix: Deadlock on submitting Sales Invoice (#41417)
Diagnostics
pre-commit failed for source commit: 4e4c1e4befd52ee7d931c8269af032ba24dd24e2
Run ruff linter and apply fixes..........................................Failed
- hook id: ruff
- exit code: 1
erpnext/stock/doctype/stock_ledger_entry/stock_ledger_entry.py:320:32: UP031 Use format specifiers instead of percent format
Found 1 error.
No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).
Format Python code.......................................................Failed
- hook id: ruff-format
- files were modified by this hook
1 file reformatted, 1 file left unchanged
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-41417
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-41417
# 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