refactor: enable website utils in safe_exec by batonac [frappe] PR#25365
From: https://github.com/frappe/frappe/pull/25365
Date: 2024-03-27 05:56:28-04:00
- refactor: enable website utils in safe_exec (#25365)
Diagnostics
pre-commit failed for source commit: 12f193231d3c07ba208d01d673fb0ac0e8eaeab4
Run ruff linter and apply fixes..........................................Failed
- hook id: ruff
- exit code: 1
frappe/utils/safe_exec.py:429:21: RUF013 PEP 484 prohibits implicit `Optional`
frappe/utils/safe_exec.py:429:57: RUF013 PEP 484 prohibits implicit `Optional`
Found 2 errors.
No fixes available (2 hidden fixes can be enabled with the `--unsafe-fixes` option).
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-25365
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-25365
# 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