From 82607935c644a2e94cdf0037546f31a95c5d19f0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:48:53 +0000 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.4 → v0.8.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.7.4...v0.8.6) - [github.com/python-jsonschema/check-jsonschema: 0.29.4 → 0.30.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.29.4...0.30.0) - [github.com/pre-commit/mirrors-mypy: v1.13.0 → v1.14.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.13.0...v1.14.1) - [github.com/rhysd/actionlint: v1.7.4 → v1.7.6](https://github.com/rhysd/actionlint/compare/v1.7.4...v1.7.6) --- .pre-commit-config.yaml | 8 ++++---- docs/notebooks/area_calculation.ipynb | 4 +--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index feb5e3aa..e34159d6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: - id: check-toml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.4 + rev: v0.8.6 hooks: - id: ruff types_or: [python, pyi, jupyter] @@ -32,13 +32,13 @@ repos: - "prettier-plugin-toml" - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.29.4 + rev: 0.30.0 hooks: - id: check-github-workflows - id: check-readthedocs - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.13.0 + rev: v1.14.1 hooks: - id: mypy additional_dependencies: [numpy, PyQt5-stubs, types-requests] @@ -51,7 +51,7 @@ repos: ] - repo: https://github.com/rhysd/actionlint - rev: "v1.7.4" + rev: "v1.7.6" hooks: - id: actionlint diff --git a/docs/notebooks/area_calculation.ipynb b/docs/notebooks/area_calculation.ipynb index cff78848..88520b69 100644 --- a/docs/notebooks/area_calculation.ipynb +++ b/docs/notebooks/area_calculation.ipynb @@ -188,9 +188,7 @@ " f\"area plot for Trial {trial}, Rep {rep} [Condition {condition}]\"\n", " )\n", " print(\"---------------------------------------------\")\n", - " print(\n", - " \"area of Trial %d, Rep %d [Condition %s]\" % (trial, rep, condition)\n", - " )\n", + " print(f\"area of Trial {trial}, Rep {rep} [Condition {condition}]\")\n", " for (\n", " to_target_mouse_positions,\n", " to_center_mouse_positions,\n",