refactor: ignore unreconcile doc for PO and SO on cancel/delete by ljain112 [frappe] PR#41900
From: https://github.com/frappe/erpnext/pull/41900
Date: 2024-06-14 13:13:11+05:30
- refactor: ignore unreconcile doc for PO and SO on cancel/delete
Diagnostics
pre-commit failed for source commit: b618d685c62837657fe808d6c30dc3582a12d0ec
Run ruff linter..........................................................Failed
- hook id: ruff
- exit code: 1
erpnext/buying/doctype/purchase_order/purchase_order.py:173:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/buying/doctype/purchase_order/purchase_order.py:194:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/buying/doctype/purchase_order/purchase_order.py:234:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/buying/doctype/purchase_order/purchase_order.py:328:5: UP030 Use implicit references for positional format fields
erpnext/buying/doctype/purchase_order/purchase_order.py:448:29: UP031 Use format specifiers instead of percent format
erpnext/buying/doctype/purchase_order/purchase_order.py:468:8: UP008 Use `super()` instead of `super(__class__, self)`
Found 6 errors.
No fixes available (6 hidden fixes can be enabled with the `--unsafe-fixes` option).
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-41900
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-41900
# 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