fix: Update subscription period by deepeshgarg007 [frappe] PR#39423
From: https://github.com/frappe/erpnext/pull/39423
Date: 2024-01-17 10:57:19+05:30
- fix: Update subscription period
Diagnostics
pre-commit failed for source commit: 7eefedfb119bcd8d01bbad2e43d87f5ed3b707ee
flake8...................................................................Failed
- hook id: flake8
- exit code: 1
erpnext/accounts/doctype/subscription/subscription.py:244:2: F811 redefinition of unused 'process' from line 143
erpnext/accounts/doctype/subscription/subscription.py:244:34: F821 undefined name 'Optional'
erpnext/accounts/doctype/subscription/subscription.py:244:43: F821 undefined name 'DateTimeLikeObject'
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-39423
# 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