diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index feb5e3a..e34159d 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 cff7884..88520b6 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",