fix(uninstall): don't allow uninstalling an app if we have other apps dependent on it by akhilnarang [frappe] PR#25252

From: https://github.com/frappe/frappe/pull/25252
Date: 2024-03-06 13:39:52+05:30

  • fix(uninstall): don't allow uninstalling an app if we have other apps dependent on it



Diagnostics

pre-commit failed for source commit: 0576a085d7c288d68e1b611ceb36c299b79c0b37
Run ruff linter and apply fixes..........................................Failed
- hook id: ruff
- exit code: 1

frappe/installer.py:239:15: RUF005 Consider `[*app_tag, None]` instead of concatenation
Found 1 error.
No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).



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

# 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

Merge request reports

Loading