refactor: renamed number of depreciations booked to opening booked de… by khushi8112 [frappe] PR#41515
From: https://github.com/frappe/erpnext/pull/41515
Date: 2024-05-28 20:37:52+05:30
- refactor: renamed number of depreciations booked to opening booked de… (#41515)
Diagnostics
pre-commit failed for source commit: 6b0ce33030b4944f994a6d62dbfa23e11aceff8d
Run ruff linter..........................................................Failed
- hook id: ruff
- exit code: 1
erpnext/patches/v15_0/create_asset_depreciation_schedules_from_assets.py:60:9: RUF015 Prefer `next(iter(item.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-41515
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-41515
# 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