[go: up one dir, main page]

Skip to content

test: fix naming series for serial no on test_serial_no_valuation_for_legacy_ledgers by diptanilsaha [frappe] PR#49297

From: https://github.com/frappe/erpnext/pull/49297
Date: 2025-08-25 15:10:03+05:30

  • test: fix naming series for serial no on test_serial_no_valuation_for_legacy_ledgers



Diagnostics

pre-commit failed for source commit: 5ebd7d72fc18bbb75f6e33388bbff1cf2aac756c
erpnext/stock/doctype/serial_and_batch_bundle/test_serial_and_batch_bundle.py:901:9: RUF015 Prefer `next(iter(batches.keys()))` over single element slice
Found 1 error.
No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).



Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-49297

# Alternatively, re-take the changes
git switch develop
ft take ft-pr-49297

# 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

Merge request reports

Loading