feat: nudge for all DocTypes that can be disabled, not deleted by barredterra [frappe] PR#27067

From: https://github.com/frappe/frappe/pull/27067
Date: 2024-07-11 07:18:19+02:00

  • feat: nudge for all DocTypes that can be disabled, not deleted (#27067)



Diagnostics

pre-commit failed for source commit: fd9e80e364f37705374eac54afded5824f83b7d2
Run ruff linter..........................................................Failed
- hook id: ruff
- exit code: 1

frappe/core/doctype/user/user.py:871:56: RUF013 PEP 484 prohibits implicit `Optional`
frappe/core/doctype/user/user.py:871:82: RUF013 PEP 484 prohibits implicit `Optional`
frappe/core/doctype/user/user.py:1248:28: RUF005 Consider `[warning, *suggestions]` instead of concatenation
Found 3 errors.
No fixes available (3 hidden fixes can be enabled with the `--unsafe-fixes` option).



Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-27067

# Alternatively, re-take the changes
git switch develop
ft take ft-pr-27067

# 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

Merge request reports

Loading