Skip to content

Commit 3e38f00

Browse files
authored
Merge pull request #59 from scientificcomputing/finsberg/overload-typing-fixes
Fix / suppress mypy errors
2 parents d59be10 + 2ef0bc4 commit 3e38f00

7 files changed

Lines changed: 335 additions & 161 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repos:
1515

1616
- repo: https://github.com/astral-sh/ruff-pre-commit
1717
# Ruff version.
18-
rev: 'v0.16.0'
18+
rev: 'v0.16.1'
1919
hooks:
2020
# Run the linter.
2121
- id: ruff

‎src/dolfinx_adjoint/blocks/function_assigner.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
from pyadjoint import AdjFloat, Block, OverloadedType
77
from ufl.formatting.ufl2unicode import ufl2unicode
88

9-
from dolfinx_adjoint.utils import function_from_vector
10-
9+
from ..utils import function_from_vector
1110
from ._vector import _vector
1211

1312

0 commit comments

Comments
 (0)