Skip to content

fix(round 3): switch to creation sorting by ankush [frappe] PR#25669

Bot Dokos requested to merge ft-pr-25669 into develop

From: https://github.com/frappe/frappe/pull/25669
Date: 2024-03-27 14:29:04+05:30

  • fix(round 3): switch to creation sorting (#25669)



Diagnostics

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

frappe/tests/test_db.py:338:20: RUF015 Prefer `next(...)` over single element slice
frappe/tests/test_db.py:340:4: RUF015 Prefer `next(...)` over single element slice
frappe/tests/test_db.py:345:4: RUF015 Prefer `next(...)` over single element slice
frappe/tests/test_db.py:356:4: RUF015 Prefer `next(...)` over single element slice
frappe/tests/test_db.py:367:4: RUF015 Prefer `next(...)` over single element slice
Found 5 errors.
No fixes available (5 hidden fixes can be enabled with the `--unsafe-fixes` option).



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

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

# 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