fix: workflow should also support queue_in_background (backport #28646) by mergify[bot] [frappe] PR#28647
From: https://github.com/frappe/frappe/pull/28647
Date: 2024-12-03 11:27:07+05:30
- fix: workflow should also support queue_in_background
Diagnostics
pre-commit failed for source commit: e967b37c7889d984e332a8fe882d8dd5b96fe9bd
frappe/model/workflow.py:122:15: RUF015 Prefer `next(...)` 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-28647
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-28647
# 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