fix: SCR batch qty issue by rohitwaghchaure [frappe] PR#41595
From: https://github.com/frappe/erpnext/pull/41595
Date: 2024-05-23 14:51:54+05:30
- fix: SCR batch qty issue (#41595)
Diagnostics
pre-commit failed for source commit: 418439b58f2793344dbc30ea858070147f3afa7e
Run ruff linter and apply fixes..........................................Failed
- hook id: ruff
- exit code: 1
erpnext/controllers/subcontracting_controller.py:24:8: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/controllers/subcontracting_controller.py:56:9: UP008 Use `super()` instead of `super(__class__, self)`
erpnext/controllers/subcontracting_controller.py:1217:6: B007 Loop control variable `key` not used within loop body
Found 3 errors.
No fixes available (3 hidden fixes 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, 2 files left unchanged
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-41595
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-41595
# 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