feat: create variant with/without image by Nihantra-Patel [frappe] PR#41317
From: https://github.com/frappe/erpnext/pull/41317
Date: 2024-07-15 16:59:41+05:30
- feat: create variant with/without image (#41317)
Diagnostics
pre-commit failed for source commit: 66b35ec9fb21723d237ce04c1976aa2caed58871
Run ruff linter..........................................................Failed
- hook id: ruff
- exit code: 1
erpnext/controllers/item_variant.py:405:23: UP030 Use implicit references for positional format fields
erpnext/controllers/item_variant.py:406:23: UP030 Use implicit references for positional format fields
Found 2 errors.
No fixes available (2 hidden fixes can be enabled with the `--unsafe-fixes` option).
Run ruff formatter.......................................................Failed
- hook id: ruff-format
- files were modified by this hook
1 file reformatted
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-41317
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-41317
# 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