fix: cint -> avoid precision loss if already integer by ankush [frappe] PR#25735
From: https://github.com/frappe/frappe/pull/25735
Date: 2024-03-29 22:31:53+05:30
- fix: cint -> avoid precision loss if already integer (#25735)
Diagnostics
pre-commit failed for source commit: ea5e1b61adc984eb3790d452975114d5953dcc3a
Run ruff linter and apply fixes..........................................Failed
- hook id: ruff
- files were modified by this hook
Found 1 error (1 fixed, 0 remaining).
Format Python code.......................................................Failed
- hook id: ruff-format
- files were modified by this hook
1 file reformatted, 1 file left unchanged
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-25735
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-25735
# 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