fix: valuation rate for serial and batch bundle for current bundle by rohitwaghchaure [frappe] PR#41850
From: https://github.com/frappe/erpnext/pull/41850
Date: 2024-06-11 18:10:02+05:30
- fix: valuation rate for serial and batch bundle for current bundle (#41850)
Diagnostics
pre-commit failed for source commit: 7249a691b3ab24fc6ecb80545ff9a17b8d60a12d
Run ruff linter..........................................................Failed
- hook id: ruff
- exit code: 1
erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py:155:3: F841 Local variable `to_delete_serial_nos` is assigned to but never used
erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py:530:3: F841 Local variable `sr` is assigned to but never used
erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py:534:3: F841 Local variable `dn` is assigned to but never used
erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py:541:3: F841 Local variable `sr2` is assigned to but never used
erpnext/stock/doctype/stock_reconciliation/test_stock_reconciliation.py:767:3: F841 Local variable `se` is assigned to but never used
Found 5 errors.
No fixes available (5 hidden fixes can be enabled with the `--unsafe-fixes` option).
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-41850
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-41850
# 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