diff --git a/.basedpyright/baseline.json b/.basedpyright/baseline.json index 333292fcb..fa6e5b40f 100644 --- a/.basedpyright/baseline.json +++ b/.basedpyright/baseline.json @@ -35937,6 +35937,22 @@ "lineCount": 1 } }, + { + "code": "reportOperatorIssue", + "range": { + "startColumn": 51, + "endColumn": 71, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 51, + "endColumn": 71, + "lineCount": 1 + } + }, { "code": "reportUnknownArgumentType", "range": { diff --git a/experiments/maxwell.py b/experiments/maxwell.py index 73cc9fe1b..8a0d0145e 100644 --- a/experiments/maxwell.py +++ b/experiments/maxwell.py @@ -150,7 +150,7 @@ def green3m(x,y,z,source,strength,k): def dipole3e(x,y,z,source,strength,k): # - # evalaute electric and magnetic field due + # evaluate electric and magnetic field due # to monochromatic electric dipole located at "source" # with intensity "strength" @@ -161,7 +161,7 @@ def dipole3e(x,y,z,source,strength,k): def dipole3m(x,y,z,source,strength,k): # - # evalaute electric and magnetic field due + # evaluate electric and magnetic field due # to monochromatic magnetic dipole located at "source" # with intensity "strength" evec = green3m(x,y,z,source,strength,k) diff --git a/experiments/maxwell_sphere.py b/experiments/maxwell_sphere.py index 1c7220bd9..54f0d8744 100644 --- a/experiments/maxwell_sphere.py +++ b/experiments/maxwell_sphere.py @@ -146,7 +146,7 @@ def green3m(x,y,z,source,strength,k): def dipole3e(x,y,z,source,strength,k): # - # evalaute electric and magnetic field due + # evaluate electric and magnetic field due # to monochromatic electric dipole located at "source" # with intensity "strength" @@ -159,7 +159,7 @@ def dipole3e(x,y,z,source,strength,k): def dipole3m(x,y,z,source,strength,k): # - # evalaute electric and magnetic field due + # evaluate electric and magnetic field due # to monochromatic magnetic dipole located at "source" # with intensity "strength" evec = green3m(x,y,z,source,strength,k) diff --git a/pytential/source.py b/pytential/source.py index 0c11a02ed..b0329dcc7 100644 --- a/pytential/source.py +++ b/pytential/source.py @@ -38,7 +38,6 @@ ) from meshmode.dof_array import DOFArray from pytools import T, memoize_in -from sumpy.kernel import Kernel if TYPE_CHECKING: diff --git a/pytential/symbolic/execution.py b/pytential/symbolic/execution.py index 25cdeb1f6..e71389f7e 100644 --- a/pytential/symbolic/execution.py +++ b/pytential/symbolic/execution.py @@ -33,7 +33,6 @@ import numpy as np from typing_extensions import override -import pymbolic.primitives as p from arraycontext import ( ArrayContext, ArrayOrContainer, diff --git a/pytential/symbolic/matrix.py b/pytential/symbolic/matrix.py index 66d47c8e0..6a84ad667 100644 --- a/pytential/symbolic/matrix.py +++ b/pytential/symbolic/matrix.py @@ -63,10 +63,6 @@ ) from pytools import memoize_method -from pytential.collection import GeometryCollection -from pytential.linalg.utils import TargetAndSourceClusterList -from pytential.symbolic.primitives import Variable - if TYPE_CHECKING: from collections.abc import Sequence diff --git a/pytential/target.py b/pytential/target.py index eb7bc0886..57be740d8 100644 --- a/pytential/target.py +++ b/pytential/target.py @@ -44,9 +44,7 @@ from abc import ABC, abstractmethod from typing import TYPE_CHECKING, TypeAlias -from arraycontext import Array from meshmode.discretization import Discretization -from pytools import T if TYPE_CHECKING: