feat: run parallel reposting by rohitwaghchaure [frappe] PR#51022
From: https://github.com/frappe/erpnext/pull/51022
Date: 2025-12-17 16:41:40+05:30
- Merge pull request #51022 from rohitwaghchaure/feat-run-parallel-reposting
- feat: run parallel reposting
Diagnostics
pre-commit failed for source commit: abef84358cf6dbeb4b8e865ff4347996be030df5
erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py: failed parsing with CPython 3.10.18:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repo_w6w3mqn/py_env-python3.10/lib/python3.10/site-packages/pre_commit_hooks/check_ast.py", line 21, in main
ast.parse(f.read(), filename=filename)
File "/usr/local/lib/python3.10/ast.py", line 50, in parse
return compile(source, filename, mode, flags,
File "erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py", line 602
def repost_entries():
^^^
IndentationError: expected an indented block after function definition on line 599
erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py - Could not parse ast
Traceback (most recent call last):
File "/root/.cache/pre-commit/repo_w6w3mqn/py_env-python3.10/lib/python3.10/site-packages/pre_commit_hooks/debug_statement_hook.py", line 56, in check_file
ast_obj = ast.parse(f.read(), filename=filename)
File "/usr/local/lib/python3.10/ast.py", line 50, in parse
return compile(source, filename, mode, flags,
File "erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py", line 602
def repost_entries():
^^^
IndentationError: expected an indented block after function definition on line 599
error: Failed to parse erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py:602:1: Expected 'Indent', but got 'def'
erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py:602:1: E999 SyntaxError: Expected 'Indent', but got 'def'
Found 1 error.
error: Failed to parse erpnext/stock/doctype/repost_item_valuation/repost_item_valuation.py:602:1: Expected 'Indent', but got 'def'
Suspicious merge commit detected: abef84358cf6dbeb4b8e865ff4347996be030df5
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-51022
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-51022
# 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