Skip to content

Commit a6289ae

Browse files
[pre-commit.ci] pre-commit autoupdate (#301)
- [github.com/astral-sh/ruff-pre-commit: v0.9.6 → v0.11.4](astral-sh/ruff-pre-commit@v0.9.6...v0.11.4) - [github.com/tox-dev/pyproject-fmt: v2.5.0 → v2.5.1](tox-dev/pyproject-fmt@v2.5.0...v2.5.1) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Stefanie Molin <[email protected]>
1 parent 19c5c37 commit a6289ae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repos:
2929
exclude: (\.(svg|png|pdf)$)|(CODE_OF_CONDUCT.md)
3030

3131
- repo: https://github.com/astral-sh/ruff-pre-commit
32-
rev: v0.9.6
32+
rev: v0.11.4
3333
hooks:
3434
- id: ruff
3535
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
@@ -48,7 +48,7 @@ repos:
4848
files: tests/.*
4949

5050
- repo: https://github.com/tox-dev/pyproject-fmt
51-
rev: v2.5.0
51+
rev: v2.5.1
5252
hooks:
5353
- id: pyproject-fmt
5454
args: [--keep-full-version, --no-print-diff]

src/data_morph/morpher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def _select_frames(
184184
# add transition frames
185185
frames.extend(
186186
[
187-
int(round(easing_function(x) * iterations))
187+
round(easing_function(x) * iterations)
188188
for x in np.arange(0, 1, 1 / (self.num_frames - freeze_for // 2))
189189
]
190190
)

0 commit comments

Comments
 (0)