fix: add type hint to whitelisted function by sagarvora [frappe] PR#27006

From: https://github.com/frappe/frappe/pull/27006
Date: 2024-07-05 08:53:41+05:30

  • fix: add type hint to whitelisted function



Diagnostics

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

frappe/core/doctype/data_import/data_import.py:301:18: RUF005 Consider iterable unpacking 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-27006

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

# 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