chore: pass stock value diff [frappe]
From: https://github.com/frappe/erpnext/commit/7f865492d0ba41c9e7d31d8dbecb2411f0574ed9
Date: 2023-10-17 17:14:37+05:30
By: Deepesh Garg
chore: pass stock value diff
This is a commit that is not part of any pull request.
Diagnostics
pre-commit failed for source commit: 7f865492d0ba41c9e7d31d8dbecb2411f0574ed9
Check python ast.........................................................Failed
- hook id: check-ast
- exit code: 1
erpnext/stock/doctype/purchase_receipt/purchase_receipt.py: failed parsing with CPython 3.10.13:
Traceback (most recent call last):
File "/root/.cache/pre-commit/repojpsxqxbe/py_env-python3.10/lib/python3.10/site-packages/pre_commit_hooks/check_ast.py", line 20, 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/purchase_receipt/purchase_receipt.py", line 393
outgoing_amount = abs(
^
SyntaxError: '(' was never closed
flake8...................................................................Failed
- hook id: flake8
- exit code: 1
erpnext/stock/doctype/purchase_receipt/purchase_receipt.py:393:27: E999 SyntaxError: '(' was never closed
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-commit-7f865492d0ba41
# Make changes then rebase
git rebase -i upstream/develop --reapply-cherry-picks
# Fix or ignore conflicts
git checkout --theirs .
git rebase --continue
# Force-push changes
git push --force-with-lease