Skip to content

Commit

Permalink
Merge branch 'main' into add/user_guide
Browse files Browse the repository at this point in the history
  • Loading branch information
ArinaDanilina authored Apr 30, 2024
2 parents a262829 + ab76938 commit 7939851
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ default_stages:
minimum_pre_commit_version: 3.0.0
repos:
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.9.0
rev: v1.10.0
hooks:
- id: mypy
additional_dependencies: [numpy>=1.25.0]
files: ^src
- repo: https://github.com/psf/black
rev: 24.3.0
rev: 24.4.2
hooks:
- id: black
additional_dependencies: [toml]
Expand All @@ -29,7 +29,7 @@ repos:
additional_dependencies: [toml]
args: [--order-by-type]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-merge-conflict
- id: check-ast
Expand Down Expand Up @@ -63,7 +63,7 @@ repos:
- id: doc8
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.3.5
rev: v0.4.2
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
4 changes: 2 additions & 2 deletions src/moscot/problems/time/_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,8 @@ def _get_data(
tag = self.problems[src, tgt].xy.tag # type: ignore[union-attr]
if tag != Tag.POINT_CLOUD:
raise ValueError(
f"Expected `tag={Tag.POINT_CLOUD}`, " # type: ignore[union-attr]
f"found `tag={self.problems[src, tgt].xy.tag}`."
f"Expected `tag={Tag.POINT_CLOUD}`, "
f"found `tag={self.problems[src, tgt].xy.tag}`." # type: ignore[union-attr]
)
if src == source:
source_data = self.problems[src, tgt].xy.data_src # type: ignore[union-attr]
Expand Down

0 comments on commit 7939851

Please sign in to comment.