From bd59dade89ff66b50ccef50de620730bed48ed66 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Fri, 20 Feb 2026 10:11:22 +0200 Subject: [PATCH 1/5] fix: some non-enabled ruff errors --- pytential/__init__.py | 2 +- pytential/linalg/gmres.py | 2 +- pytential/qbx/__init__.py | 4 ++-- pytential/qbx/cost.py | 5 ----- pytential/qbx/refinement.py | 2 +- pytential/symbolic/dof_connection.py | 2 +- pytential/symbolic/dof_desc.py | 24 ++++++++++++++---------- pytential/symbolic/mappers.py | 26 +++++++++++--------------- pytential/symbolic/primitives.py | 2 +- test/extra_int_eq_data.py | 2 +- test/test_cost_model.py | 2 +- test/test_layer_pot.py | 2 +- 12 files changed, 35 insertions(+), 40 deletions(-) diff --git a/pytential/__init__.py b/pytential/__init__.py index 72042e127..c258f7b6f 100644 --- a/pytential/__init__.py +++ b/pytential/__init__.py @@ -125,7 +125,7 @@ def norm( norm_op = _norm_2_op(discr, num_components) return norm_op(integrand=x)**(1/2) - elif p == np.inf or p == "inf": + elif p in {np.inf, "inf"}: norm_op = _norm_inf_op(discr, num_components) # FIXME: norm_op (correctly) becomes BoundExpression[Operand], but diff --git a/pytential/linalg/gmres.py b/pytential/linalg/gmres.py index 6169587a6..2629ea3dd 100644 --- a/pytential/linalg/gmres.py +++ b/pytential/linalg/gmres.py @@ -218,7 +218,7 @@ def norm(x): rp = r for _orth_trips in range(2): - for j in range(0, orth_count): + for j in range(orth_count): d = dot(Ae[j], w) w = w - d * Ae[j] rp = rp - d * e[j] diff --git a/pytential/qbx/__init__.py b/pytential/qbx/__init__.py index 31ec56cf8..d89beb154 100644 --- a/pytential/qbx/__init__.py +++ b/pytential/qbx/__init__.py @@ -87,7 +87,7 @@ """ -FMMBackend: TypeAlias = Literal["sumpy"] | Literal["fmmlib"] +FMMBackend: TypeAlias = Literal["sumpy", "fmmlib"] # {{{ QBX layer potential source @@ -1055,7 +1055,7 @@ def get_flat_strengths_from_densities( density_dofarrays = [evaluate(density) for density in densities] for i, ary in enumerate(density_dofarrays): if not isinstance(ary, DOFArray): - raise ValueError( + raise TypeError( f"DOFArray expected for density '{densities[i]}', " f"{type(ary)} received instead") diff --git a/pytential/qbx/cost.py b/pytential/qbx/cost.py index 7e172a8ad..8b7560008 100644 --- a/pytential/qbx/cost.py +++ b/pytential/qbx/cost.py @@ -221,7 +221,6 @@ def process_form_qbxl(self, actx: PyOpenCLArrayContext, geo_data, p2qbxl_cost, representing the cost of adding all direct evaluation sources to QBX local expansions of centers in ``target_boxes[i]``. """ - pass @abstractmethod def process_m2qbxl(self, actx: PyOpenCLArrayContext, geo_data, m2qbxl_cost): @@ -234,7 +233,6 @@ def process_m2qbxl(self, actx: PyOpenCLArrayContext, geo_data, m2qbxl_cost): representing the cost of translating multipole expansions of list 3 boxes at all source levels to all QBX centers in ``target_boxes[i]``. """ - pass @abstractmethod def process_l2qbxl(self, actx: PyOpenCLArrayContext, geo_data, l2qbxl_cost): @@ -247,7 +245,6 @@ def process_l2qbxl(self, actx: PyOpenCLArrayContext, geo_data, l2qbxl_cost): representing the cost of translating box local expansions to all QBX local expansions. """ - pass @abstractmethod def process_eval_qbxl(self, actx: PyOpenCLArrayContext, geo_data, qbxl2p_cost): @@ -259,7 +256,6 @@ def process_eval_qbxl(self, actx: PyOpenCLArrayContext, geo_data, qbxl2p_cost): representing the cost of evaluating all targets associated with QBX centers in ``target_boxes[i]`` from QBX local expansions. """ - pass @abstractmethod def process_eval_target_specific_qbxl(self, actx: PyOpenCLArrayContext, @@ -278,7 +274,6 @@ def process_eval_target_specific_qbxl(self, actx: PyOpenCLArrayContext, centers in ``target_boxes[i]`` from the direct evaluation sources of ``target_boxes[i]``. """ - pass def qbx_cost_factors_for_kernels_from_model( self, actx: PyOpenCLArrayContext, nlevels, xlat_cost, context): diff --git a/pytential/qbx/refinement.py b/pytential/qbx/refinement.py index 4a33bcb85..cc6ccb16c 100644 --- a/pytential/qbx/refinement.py +++ b/pytential/qbx/refinement.py @@ -853,7 +853,7 @@ def _refine_for_global_qbx(places, dofdesc, wrangler, from pytential.qbx import QBXLayerPotentialSource lpot_source = places.get_geometry(dofdesc.geometry) if not isinstance(lpot_source, QBXLayerPotentialSource): - raise ValueError(f"'{dofdesc.geometry}' is not a QBXLayerPotentialSource") + raise TypeError(f"'{dofdesc.geometry}' is not a QBXLayerPotentialSource") # {{{ diff --git a/pytential/symbolic/dof_connection.py b/pytential/symbolic/dof_connection.py index bb47fbcab..8c03823df 100644 --- a/pytential/symbolic/dof_connection.py +++ b/pytential/symbolic/dof_connection.py @@ -173,7 +173,7 @@ def __init__(self, from meshmode.discretization.connection import DiscretizationConnection for conn in self.connections: if not isinstance(conn, DiscretizationConnection): - raise ValueError(f"unsupported connection type: {type(conn)}") + raise TypeError(f"unsupported connection type: {type(conn)}") from_discr = self.connections[0].from_discr to_discr = self.connections[-1].to_discr diff --git a/pytential/symbolic/dof_desc.py b/pytential/symbolic/dof_desc.py index cbfaf35c0..70541a743 100644 --- a/pytential/symbolic/dof_desc.py +++ b/pytential/symbolic/dof_desc.py @@ -24,7 +24,7 @@ """ from collections.abc import Hashable -from typing import Any, TypeAlias +from typing import TypeAlias from typing_extensions import override @@ -166,15 +166,19 @@ def __init__(self, if granularity is None: granularity = GRANULARITY_NODE - if not (discr_stage is None - or discr_stage == QBX_SOURCE_STAGE1 - or discr_stage == QBX_SOURCE_STAGE2 - or discr_stage == QBX_SOURCE_QUAD_STAGE2): + if discr_stage not in { + None, + QBX_SOURCE_STAGE1, + QBX_SOURCE_STAGE2, + QBX_SOURCE_QUAD_STAGE2, + }: raise ValueError(f"unknown discr stage tag: '{discr_stage}'") - if not (granularity == GRANULARITY_NODE - or granularity == GRANULARITY_CENTER - or granularity == GRANULARITY_ELEMENT): + if granularity not in { + GRANULARITY_NODE, + GRANULARITY_CENTER, + GRANULARITY_ELEMENT, + }: raise ValueError(f"unknown granularity: '{granularity}'") self.geometry = geometry @@ -212,13 +216,13 @@ def __hash__(self) -> int: return hash((type(self), self.geometry, self.discr_stage, self.granularity)) - def __eq__(self, other: Any) -> bool: + def __eq__(self, other: object) -> bool: return (type(self) is type(other) and self.geometry == other.geometry and self.discr_stage == other.discr_stage and self.granularity == other.granularity) - def __ne__(self, other: Any) -> bool: + def __ne__(self, other: object) -> bool: return not self.__eq__(other) @override diff --git a/pytential/symbolic/mappers.py b/pytential/symbolic/mappers.py index df32c4555..88c4dbf39 100644 --- a/pytential/symbolic/mappers.py +++ b/pytential/symbolic/mappers.py @@ -280,18 +280,12 @@ def _map_leaf(self, ) -> Set[CollectedT]: return set() - map_ones: \ - Callable[[Self, pp.Ones], Set[CollectedT]] = _map_leaf - map_is_shape_class: \ - Callable[[Self, pp.IsShapeClass], Set[CollectedT]] = _map_leaf - map_error_expression: \ - Callable[[Self, pp.ErrorExpression], Set[CollectedT]] = _map_leaf - map_node_coordinate_component: \ - Callable[[Self, pp.NodeCoordinateComponent], Set[CollectedT]] = _map_leaf - map_q_weight: \ - Callable[[Self, pp.QWeight], Set[CollectedT]] = _map_leaf - map_spatial_constant: \ - Callable[[Self, pp.SpatialConstant], Set[CollectedT]] = _map_leaf + map_ones: Callable[[Self, pp.Ones], Set[CollectedT]] = _map_leaf + map_is_shape_class: Callable[[Self, pp.IsShapeClass], Set[CollectedT]] = _map_leaf + map_error_expression: Callable[[Self, pp.ErrorExpression], Set[CollectedT]] = _map_leaf # noqa: E501 + map_node_coordinate_component: Callable[[Self, pp.NodeCoordinateComponent], Set[CollectedT]] = _map_leaf # noqa: E501 + map_q_weight: Callable[[Self, pp.QWeight], Set[CollectedT]] = _map_leaf + map_spatial_constant: Callable[[Self, pp.SpatialConstant], Set[CollectedT]] = _map_leaf # noqa: E501 class OperatorCollector(Collector[pp.IntG]): @@ -578,9 +572,11 @@ class DiscretizationStageTagger(IdentityMapper): """ def __init__(self, discr_stage): - if not (discr_stage == pp.QBX_SOURCE_STAGE1 - or discr_stage == pp.QBX_SOURCE_STAGE2 - or discr_stage == pp.QBX_SOURCE_QUAD_STAGE2): + if discr_stage not in { + pp.QBX_SOURCE_STAGE1, + pp.QBX_SOURCE_STAGE2, + pp.QBX_SOURCE_QUAD_STAGE2, + }: raise ValueError(f'unknown discr stage tag: "{discr_stage}"') self.discr_stage = discr_stage diff --git a/pytential/symbolic/primitives.py b/pytential/symbolic/primitives.py index 3ca0b84c6..7389f8adf 100644 --- a/pytential/symbolic/primitives.py +++ b/pytential/symbolic/primitives.py @@ -744,7 +744,7 @@ def __init__(self, ref_axes = ((ref_axes, 1),) if not isinstance(ref_axes, tuple): - raise ValueError(f"'ref_axes' must be a tuple: {type(ref_axes)}") + raise TypeError(f"'ref_axes' must be a tuple: {type(ref_axes)}") if tuple(sorted(ref_axes)) != ref_axes: raise ValueError( diff --git a/test/extra_int_eq_data.py b/test/extra_int_eq_data.py index 59a4738b3..ef5101a75 100644 --- a/test/extra_int_eq_data.py +++ b/test/extra_int_eq_data.py @@ -78,7 +78,7 @@ def make_circular_point_group( def make_source_and_target_points( actx: PyOpenCLArrayContext, - side: Literal[1] | Literal[-1] | Literal["scat"], + side: Literal[1, -1, "scat"], inner_radius: np.floating[Any], outer_radius: np.floating[Any], ambient_dim: int, diff --git a/test/test_cost_model.py b/test/test_cost_model.py index 4602531c7..738e7c891 100644 --- a/test/test_cost_model.py +++ b/test/test_cost_model.py @@ -762,7 +762,7 @@ def test_cost_model_correctness(actx_factory: ArrayContextFactory, dim, off_surf total_cost += timing_data[stage]["ops_elapsed"] per_box_cost, _ = op_S.cost_per_box("constant_one", sigma=sigma) - logging.info(per_box_cost) + logger.info(per_box_cost) per_box_cost, = per_box_cost.values() total_aggregate_cost = cost_model.aggregate_over_boxes(actx, per_box_cost) diff --git a/test/test_layer_pot.py b/test/test_layer_pot.py index 680749b35..166c205de 100644 --- a/test/test_layer_pot.py +++ b/test/test_layer_pot.py @@ -565,7 +565,7 @@ def nxcurlS(knl, density_sym, qbx_forced_limit): / norm(density_discr, density, np.inf)) eoc_rec.add_data_point(h_max, err) - logging.info("error: nel %d h_max %.5e %.5e", nel_factor, h_max, err) + logger.info("error: nel %d h_max %.5e %.5e", nel_factor, h_max, err) # {{{ visualization From edce856024d0735b334ebbb61deb87f377bcd3fa Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Fri, 20 Feb 2026 11:17:29 +0200 Subject: [PATCH 2/5] feat(typing): improve typing in gmres --- pytential/linalg/gmres.py | 152 +++++++++++++++++++++++++++----------- pytential/qbx/__init__.py | 2 + 2 files changed, 112 insertions(+), 42 deletions(-) diff --git a/pytential/linalg/gmres.py b/pytential/linalg/gmres.py index 2629ea3dd..cc2749111 100644 --- a/pytential/linalg/gmres.py +++ b/pytential/linalg/gmres.py @@ -25,25 +25,64 @@ __doc__ = """ .. autofunction:: gmres + .. autoclass:: GMRESResult .. autoexception:: GMRESError .. autoclass:: ResidualPrinter + +.. autoclass:: InnerProduct + :members: + :undoc-members: + :special-members: __call__ +.. autoclass:: CallableOperator + :members: + :undoc-members: + :special-members: __call__ +.. autoclass:: HasMatVec + :members: + :undoc-members: """ from dataclasses import dataclass from functools import partial -from typing import TYPE_CHECKING +from typing import TYPE_CHECKING, Generic, Protocol import numpy as np +from arraycontext import ArrayContext, ArrayOrContainerT +from pytools import T + if TYPE_CHECKING: from collections.abc import Callable, Sequence - from arraycontext import ArrayContainer, ArrayOrContainerT +class InnerProduct(Protocol, Generic[T]): + """A :class:`~typing.Protocol` for the inner product used by :func:`gmres`.""" + + def __call__(self, a: T, b: T) -> T: ... + + +class CallableOperator(Protocol, Generic[T]): + """A :class:`~typing.Protocol` for the operator used by :func:`gmres`.""" + + @property + def shape(self) -> tuple[int, int]: ... + + def __call__(self, x: T) -> T: ... -def structured_vdot(x, y, array_context=None): + +class HasMatVec(Protocol, Generic[T]): + """A :class:`~typing.Protocol` for the operator used by :func:`gmres`.""" + + @property + def shape(self) -> tuple[int, int]: ... + + def matvec(self, x: T) -> T: ... + + +def structured_vdot(x: ArrayOrContainerT, y: ArrayOrContainerT, + array_context: ArrayContext | None = None) -> float: """vdot() implementation that is aware of scalars and host or PyOpenCL arrays. It also recurses down nested object arrays. """ @@ -57,6 +96,9 @@ def structured_vdot(x, y, array_context=None): or (isinstance(x, np.ndarray) and x.dtype.char != "O")): return np.vdot(x, y) else: + if array_context is None: + raise ValueError("'array_context' is required for non-scalar inputs") + # actx.np.vdot works on PyOpenCL arrays and arbitrarily nested # array containers, so this should handle all remaining cases r = array_context.to_numpy(array_context.np.vdot(x, y)) @@ -81,41 +123,50 @@ class GMRESError(RuntimeError): # {{{ main routine @dataclass(frozen=True) -class GMRESResult: +class GMRESResult(Generic[T]): """ - .. attribute:: solution - .. attribute:: residual_norms - .. attribute:: iteration_count - .. attribute:: success - - A :class:`bool` indicating whether the iteration succeeded. - - .. attribute:: state - - A description of the outcome. + .. autoattribute:: solution + .. autoattribute:: residual_norms + .. autoattribute:: iteration_count + .. autoattribute:: success + .. autoattribute:: state """ - solution: ArrayContainer + solution: T residual_norms: Sequence[float] iteration_count: int success: bool + """A :class:`bool` indicating whether the iteration succeeded.""" state: str + """A description of the outcome.""" -def _gmres(A, b, restart=None, tol=None, x0=None, dot=None, - maxiter=None, hard_failure=None, require_monotonicity=True, - no_progress_factor=None, stall_iterations=None, - callback=None): +def _gmres( + A: CallableOperator[ArrayOrContainerT] | HasMatVec[ArrayOrContainerT], + b: ArrayOrContainerT, + restart: int | None = None, + tol: float | None = None, + x0: ArrayOrContainerT | None = None, + dot: InnerProduct[ArrayOrContainerT] | None = None, + maxiter: int | None = None, + hard_failure: bool | None = None, + require_monotonicity: bool = True, + no_progress_factor: float | None = None, + stall_iterations: int | None = None, + callback: Callable[[ArrayOrContainerT], None] | None = None + ) -> GMRESResult[ArrayOrContainerT]: # {{{ input processing n, _ = A.shape - if not callable(A): a_call = A.matvec else: a_call = A + if dot is None: + raise ValueError("'dot' not provided") + if restart is None: restart = min(n, 20) @@ -130,16 +181,17 @@ def _gmres(A, b, restart=None, tol=None, x0=None, dot=None, if stall_iterations is None: stall_iterations = 10 + if no_progress_factor is None: no_progress_factor = 1.25 # }}} - def norm(x): + def norm(x: ArrayOrContainerT) -> float: return np.sqrt(abs(dot(x, x))) if x0 is None: - x = 0*b + x: ArrayOrContainerT = 0*b r = b recalc_r = False else: @@ -147,15 +199,16 @@ def norm(x): del x0 recalc_r = True - Ae = [None]*restart - e = [None]*restart + Ae: list[ArrayOrContainerT] = [None]*restart + e: list[ArrayOrContainerT] = [None]*restart k = 0 norm_b = norm(b) last_resid_norm = None - residual_norms = [] + residual_norms: list[float] = [] + iteration = 0 for iteration in range(maxiter): # restart if required if k == restart: @@ -175,9 +228,11 @@ def norm(x): callback(r) if norm_r < tol*norm_b or norm_r == 0: - return GMRESResult(solution=x, + return GMRESResult( + solution=x, residual_norms=residual_norms, - iteration_count=iteration, success=True, + iteration_count=iteration, + success=True, state="success") if last_resid_norm is not None: if norm_r > 1.25*last_resid_norm: @@ -186,9 +241,11 @@ def norm(x): if hard_failure: raise GMRESError(state) else: - return GMRESResult(solution=x, + return GMRESResult( + solution=x, residual_norms=residual_norms, - iteration_count=iteration, success=False, + iteration_count=iteration, + success=False, state=state) else: print("*** WARNING: non-monotonic residuals in GMRES") @@ -203,9 +260,11 @@ def norm(x): if hard_failure: raise GMRESError(state) else: - return GMRESResult(solution=x, + return GMRESResult( + solution=x, residual_norms=residual_norms, - iteration_count=iteration, success=False, + iteration_count=iteration, + success=False, state=state) last_resid_norm = norm_r @@ -248,9 +307,11 @@ def norm(x): if hard_failure: raise GMRESError(state) else: - return GMRESResult(solution=x, + return GMRESResult( + solution=x, residual_norms=residual_norms, - iteration_count=iteration, success=False, + iteration_count=iteration, + success=False, state=state) # }}} @@ -258,18 +319,28 @@ def norm(x): # {{{ progress reporting -class ResidualPrinter: - def __init__(self, inner_product=structured_vdot): +class ResidualPrinter(Generic[ArrayOrContainerT]): + count: int + inner_product: InnerProduct[ArrayOrContainerT] + + def __init__( + self, + inner_product: InnerProduct[ArrayOrContainerT] | None = None + ) -> None: + if inner_product is None: + inner_product = structured_vdot + self.count = 0 self.inner_product = inner_product - def __call__(self, resid): + def __call__(self, resid: ArrayOrContainerT | None) -> None: import sys if resid is not None: norm = np.sqrt(self.inner_product(resid, resid)) sys.stdout.write(f"IT {self.count:8d} {abs(norm):.8e}\n") else: sys.stdout.write(f"IT {self.count:8d}\n") + self.count += 1 sys.stdout.flush() @@ -279,20 +350,19 @@ def __call__(self, resid): # {{{ entrypoint def gmres( - op: Callable[[ArrayOrContainerT], ArrayOrContainerT], + op: CallableOperator[ArrayOrContainerT] | HasMatVec[ArrayOrContainerT], rhs: ArrayOrContainerT, restart: int | None = None, tol: float | None = None, x0: ArrayOrContainerT | None = None, - inner_product: ( - Callable[[ArrayOrContainerT, ArrayOrContainerT], float] | None) = None, + inner_product: InnerProduct[ArrayOrContainerT] | None = None, maxiter: int | None = None, hard_failure: bool | None = None, no_progress_factor: float | None = None, stall_iterations: int | None = None, callback: Callable[[ArrayOrContainerT], None] | None = None, progress: bool = False, - require_monotonicity: bool = True) -> GMRESResult: + require_monotonicity: bool = True) -> GMRESResult[ArrayOrContainerT]: """Solve a linear system :math:`Ax = b` using GMRES with restarts. :arg op: a callable to evaluate :math:`A(x)`. @@ -308,8 +378,6 @@ def gmres( :arg stall_iterations: number of iterations with residual decrease below *no_progress_factor* indicates stall. Set to ``0`` to disable stall detection. - - :return: a :class:`GMRESResult`. """ if inner_product is None: from pytential.symbolic.execution import ( diff --git a/pytential/qbx/__init__.py b/pytential/qbx/__init__.py index d89beb154..0ee579ba7 100644 --- a/pytential/qbx/__init__.py +++ b/pytential/qbx/__init__.py @@ -84,6 +84,8 @@ .. autoclass:: QBXDefaultExpansionFactory .. autoclass:: NonFFTExpansionFactory + +.. autodata:: FMMBackend """ From 3adc50a60422fcd142716e3ca812dce37c98ccf9 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Fri, 20 Feb 2026 11:17:40 +0200 Subject: [PATCH 3/5] docs: add some more ignores --- doc/conf.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index 256dd5e87..4897232dc 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -47,6 +47,9 @@ # https://github.com/jorenham/optype/issues/430 ["py:class", r"optype.*"], ["py:class", r"onp.*"], + # sphinx >= 9.0 errors + ["py:class", r"_not_provided"], + ["py:class", r"Callable\[.*"], ] @@ -81,6 +84,7 @@ "ArrayContainer": "obj:arraycontext.ArrayContainer", "ArrayOrContainerOrScalar": "obj:arraycontext.ArrayOrContainerOrScalar", "ArrayOrContainerT": "obj:arraycontext.ArrayOrContainerT", + "arraycontext.typing.ArrayOrContainerT": "obj:arraycontext.ArrayOrContainerT", "PyOpenCLArrayContext": "class:arraycontext.PyOpenCLArrayContext", "ScalarLike": "obj:arraycontext.ScalarLike", # modepy @@ -90,6 +94,7 @@ "DOFArray": "class:meshmode.dof_array.DOFArray", "ElementGroupFactory": "class:meshmode.discretization.ElementGroupFactory", # boxtree + "ExtentNorm": "obj:boxtree.tree_build.ExtentNorm", "FromSepSmallerCrit": "obj:boxtree.traversal.FromSepSmallerCrit", "TimingResult": "class:boxtree.timing.TimingResult", "TreeKind": "obj:boxtree.tree_build.TreeKind", @@ -108,6 +113,7 @@ "DOFGranularity": "data:pytential.symbolic.dof_desc.DOFGranularity", "DiscretizationStage": "data:pytential.symbolic.dof_desc.DiscretizationStage", "ExpressionNode": "class:pytential.symbolic.primitives.ExpressionNode", + "FMMBackend": "obj:pytential.qbx.FMMBackend", "GeometryId": "data:pytential.symbolic.dof_desc.GeometryId", "KernelArgumentLike": "obj:pytential.symbolic.primitives.KernelArgumentLike", "KernelArgumentMapping": "obj:pytential.symbolic.primitives.KernelArgumentMapping", From 94a6adedd668fb5d8a536a6870b7d9f41bc022d5 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Fri, 20 Feb 2026 16:36:45 -0600 Subject: [PATCH 4/5] Update config, fix lints for ruff 0.15.2 --- pyproject.toml | 3 ++- pytential/linalg/direct_solver_symbolic.py | 4 +--- pytential/linalg/gmres.py | 3 +-- pytential/qbx/__init__.py | 4 +--- pytential/qbx/fmmlib.py | 5 ++-- pytential/qbx/interactions.py | 20 +++++----------- pytential/qbx/refinement.py | 3 +-- pytential/source.py | 4 +--- pytential/symbolic/compiler.py | 12 +++++++--- pytential/symbolic/execution.py | 11 ++++----- pytential/symbolic/mappers.py | 18 +++++++------- pytential/symbolic/pde/scalar.py | 4 ++-- pytential/unregularized.py | 4 +--- test/extra_int_eq_data.py | 28 +++++++++++----------- test/test_cost_model.py | 4 +--- test/test_maxwell.py | 6 ++--- 16 files changed, 58 insertions(+), 75 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 019348dbb..157ecf4f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -105,8 +105,9 @@ exclude = [ ] [tool.ruff.lint.per-file-ignores] -"doc/*.py" = ["I002"] +"doc/*.py" = ["I002", "S102"] "examples/*.py" = ["I002"] +"test/test_*.py" = ["S102"] [tool.ruff.lint.flake8-quotes] docstring-quotes = "double" diff --git a/pytential/linalg/direct_solver_symbolic.py b/pytential/linalg/direct_solver_symbolic.py index 290f4048c..5b88a8bea 100644 --- a/pytential/linalg/direct_solver_symbolic.py +++ b/pytential/linalg/direct_solver_symbolic.py @@ -83,12 +83,10 @@ def _prepare_expr(expr: ArithmeticExpression) -> ArithmeticExpression: # ensure all IntGs remove all the kernel derivatives expr = KernelTransformationRemover()(expr) # ensure all IntGs have their source and targets set - expr = DOFDescriptorReplacer( + return DOFDescriptorReplacer( default_source=auto_where[0], default_target=auto_where[1]).rec_arith(expr) - return expr - return obj_array.new_1d([_prepare_expr(expr) for expr in exprs]) # }}} diff --git a/pytential/linalg/gmres.py b/pytential/linalg/gmres.py index cc2749111..33b808dda 100644 --- a/pytential/linalg/gmres.py +++ b/pytential/linalg/gmres.py @@ -398,14 +398,13 @@ def gmres( else: callback = None - result = _gmres(op, rhs, restart=restart, tol=tol, x0=x0, + return _gmres(op, rhs, restart=restart, tol=tol, x0=x0, dot=inner_product, maxiter=maxiter, hard_failure=hard_failure, no_progress_factor=no_progress_factor, stall_iterations=stall_iterations, callback=callback, require_monotonicity=require_monotonicity) - return result # }}} diff --git a/pytential/qbx/__init__.py b/pytential/qbx/__init__.py index 0ee579ba7..e392844d2 100644 --- a/pytential/qbx/__init__.py +++ b/pytential/qbx/__init__.py @@ -495,13 +495,11 @@ def preprocess_optemplate(self, name, discretizations, expr: ArithmeticExpressio @override def op_group_features(self, expr: IntG): from pytential.utils import sort_arrays_together - result = ( + return ( expr.source, *sort_arrays_together(expr.source_kernels, expr.densities, key=str) ) - return result - # }}} # {{{ internal functionality for execution diff --git a/pytential/qbx/fmmlib.py b/pytential/qbx/fmmlib.py index 7797f4684..9ffb8cad8 100644 --- a/pytential/qbx/fmmlib.py +++ b/pytential/qbx/fmmlib.py @@ -449,9 +449,8 @@ def translate_box_multipoles_to_qbx_local(self, actx, multipole_exps): **kwargs).T - if self.dim == 3: - if ier.any(): - raise RuntimeError("m2qbxl failed") + if self.dim == 3 and ier.any(): + raise RuntimeError("m2qbxl failed") qbx_exps[geo_data.global_qbx_centers()] += expn2 diff --git a/pytential/qbx/interactions.py b/pytential/qbx/interactions.py index 385580a3a..8f993253d 100644 --- a/pytential/qbx/interactions.py +++ b/pytential/qbx/interactions.py @@ -134,9 +134,7 @@ def get_kernel(self): loopy_knl = lp.tag_inames(loopy_knl, "idim*:unr") loopy_knl = lp.tag_inames(loopy_knl, "istrength*:unr") - loopy_knl = self.add_loopy_form_callable(loopy_knl) - - return loopy_knl + return self.add_loopy_form_callable(loopy_knl) @memoize_method def get_optimized_kernel(self, is_sources_obj_array, is_centers_obj_array): @@ -149,8 +147,7 @@ def get_optimized_kernel(self, is_sources_obj_array, is_centers_obj_array): knl = lp.tag_array_axes(knl, "qbx_centers", "sep,C") knl = lp.split_iname(knl, "itgt_center", 16, outer_tag="g.0") - knl = self._allow_redundant_execution_of_knl_scaling(knl) - return knl + return self._allow_redundant_execution_of_knl_scaling(knl) def __call__(self, actx: PyOpenCLArrayContext, **kwargs): sources = kwargs.pop("sources") @@ -274,8 +271,7 @@ def get_optimized_kernel(self, is_centers_obj_array): knl = lp.tag_array_axes(knl, "qbx_centers", "sep,C") knl = lp.split_iname(knl, "icenter", 16, outer_tag="g.0") - knl = self._allow_redundant_execution_of_knl_scaling(knl) - return knl + return self._allow_redundant_execution_of_knl_scaling(knl) def __call__(self, actx: PyOpenCLArrayContext, **kwargs): centers = kwargs.pop("centers") @@ -393,8 +389,7 @@ def get_optimized_kernel(self, is_centers_obj_array): knl = lp.tag_array_axes(knl, "qbx_centers", "sep,C") knl = lp.split_iname(knl, "icenter", 16, outer_tag="g.0") - knl = self._allow_redundant_execution_of_knl_scaling(knl) - return knl + return self._allow_redundant_execution_of_knl_scaling(knl) def __call__(self, actx: PyOpenCLArrayContext, **kwargs): centers = kwargs.pop("centers") @@ -506,9 +501,7 @@ def get_kernel(self): "nresults": len(self.kernels)}) loopy_knl = lp.tag_inames(loopy_knl, "idim*:unr,iknl:unr") - loopy_knl = self.add_loopy_eval_callable(loopy_knl) - - return loopy_knl + return self.add_loopy_eval_callable(loopy_knl) @memoize_method def get_optimized_kernel(self, is_targets_obj_array, is_centers_obj_array): @@ -521,8 +514,7 @@ def get_optimized_kernel(self, is_targets_obj_array, is_centers_obj_array): knl = lp.tag_array_axes(knl, "qbx_centers", "sep,C") knl = lp.tag_inames(knl, {"iglobal_center": "g.0"}) - knl = lp.add_inames_to_insn(knl, "iglobal_center", "id:kernel_scaling") - return knl + return lp.add_inames_to_insn(knl, "iglobal_center", "id:kernel_scaling") def __call__(self, actx: PyOpenCLArrayContext, **kwargs): targets = kwargs.pop("targets") diff --git a/pytential/qbx/refinement.py b/pytential/qbx/refinement.py index cc6ccb16c..429ac6b4b 100644 --- a/pytential/qbx/refinement.py +++ b/pytential/qbx/refinement.py @@ -488,9 +488,8 @@ def refine(self, density_discr, refiner, refine_flags, factory, debug): with ProcessLogger(logger, "refine mesh"): refiner.refine(refine_flags) from meshmode.discretization.connection import make_refinement_connection - conn = make_refinement_connection(actx, refiner, density_discr, factory) + return make_refinement_connection(actx, refiner, density_discr, factory) - return conn # }}} diff --git a/pytential/source.py b/pytential/source.py index deddd7961..0c11a02ed 100644 --- a/pytential/source.py +++ b/pytential/source.py @@ -231,14 +231,12 @@ def op_group_features(self, expr: IntG) -> tuple[Hashable, ...]: # target kernel, we group all IntGs with same source kernels and densities. # sorting is done to avoid duplicates as the order of the sum of source # kernels does not matter. - result = ( + return ( expr.source, *sort_arrays_together(expr.source_kernels, expr.densities, key=str), expr.target_kernel.get_base_kernel(), ) - return result - def cost_model_compute_potential_insn( self, actx: PyOpenCLArrayContext, diff --git a/pytential/symbolic/compiler.py b/pytential/symbolic/compiler.py index ad7cc71ed..ae8e12b06 100644 --- a/pytential/symbolic/compiler.py +++ b/pytential/symbolic/compiler.py @@ -43,7 +43,13 @@ if TYPE_CHECKING: - from collections.abc import Collection, Hashable, Iterator, Sequence, Set + from collections.abc import ( + Collection, + Hashable, + Iterator, + Sequence, + Set as AbstractSet, + ) from pymbolic.geometric_algebra import MultiVector from pymbolic.mapper.dependency import Dependency @@ -431,8 +437,8 @@ def _get_next_step( dep_mapper: DependencyMapper, statements: Sequence[Statement], result: CodeResultT, - available_names: Set[str], - done_stmts: Set[Statement] + available_names: AbstractSet[str], + done_stmts: AbstractSet[Statement] ) -> tuple[Statement, set[str]]: from pytools import argmax2 diff --git a/pytential/symbolic/execution.py b/pytential/symbolic/execution.py index af1fc0be4..25cdeb1f6 100644 --- a/pytential/symbolic/execution.py +++ b/pytential/symbolic/execution.py @@ -291,8 +291,7 @@ def map_inverse(self, expr: pp.IterativeInverse): from pytential.linalg.gmres import gmres rhs = self.rec(expr.rhs) - result = gmres(scipy_op, rhs) - return result + return gmres(scipy_op, rhs) def map_interpolation(self, expr: pp.Interpolation): operand = self.rec(expr.operand) @@ -543,9 +542,8 @@ def matvec(self, x): # => output is a flat PyOpenCL array # * structured arrays (object arrays/DOFArrays) # => output has same structure as input - if isinstance(x, DOFArray): - flat, host = False, False - elif isinstance(x, np.ndarray) and x.dtype.char == "O": + if (isinstance(x, DOFArray) or + (isinstance(x, np.ndarray) and x.dtype.char == "O")): flat, host = False, False elif isinstance(x, self.array_context.array_types): flat, host = True, False @@ -656,9 +654,8 @@ def _prepare_expr(places: GeometryCollection, expr = place.preprocess_optemplate(name, places, expr) from pytential.symbolic.mappers import InterpolationPreprocessor - expr = InterpolationPreprocessor(places)(expr) + return InterpolationPreprocessor(places)(expr) - return expr # }}} diff --git a/pytential/symbolic/mappers.py b/pytential/symbolic/mappers.py index 88c4dbf39..3a0842fd0 100644 --- a/pytential/symbolic/mappers.py +++ b/pytential/symbolic/mappers.py @@ -23,7 +23,7 @@ THE SOFTWARE. """ -from collections.abc import Callable, Iterable, Set +from collections.abc import Callable, Iterable, Set as AbstractSet from dataclasses import dataclass, replace from functools import reduce from typing import TYPE_CHECKING, cast @@ -269,7 +269,7 @@ def map_inverse(self, expr: pp.IterativeInverse) -> ResultT: # {{{ Collector -class Collector(CollectorBase[CollectedT, []], CombineMapper[Set[CollectedT]]): +class Collector(CollectorBase[CollectedT, []], CombineMapper[AbstractSet[CollectedT]]): def _map_leaf(self, expr: pp.Ones | pp.ErrorExpression @@ -277,15 +277,15 @@ def _map_leaf(self, | pp.NodeCoordinateComponent | pp.QWeight | pp.SpatialConstant - ) -> Set[CollectedT]: + ) -> AbstractSet[CollectedT]: return set() - map_ones: Callable[[Self, pp.Ones], Set[CollectedT]] = _map_leaf - map_is_shape_class: Callable[[Self, pp.IsShapeClass], Set[CollectedT]] = _map_leaf - map_error_expression: Callable[[Self, pp.ErrorExpression], Set[CollectedT]] = _map_leaf # noqa: E501 - map_node_coordinate_component: Callable[[Self, pp.NodeCoordinateComponent], Set[CollectedT]] = _map_leaf # noqa: E501 - map_q_weight: Callable[[Self, pp.QWeight], Set[CollectedT]] = _map_leaf - map_spatial_constant: Callable[[Self, pp.SpatialConstant], Set[CollectedT]] = _map_leaf # noqa: E501 + map_ones: Callable[[Self, pp.Ones], AbstractSet[CollectedT]] = _map_leaf + map_is_shape_class: Callable[[Self, pp.IsShapeClass], AbstractSet[CollectedT]] = _map_leaf # noqa: E501 + map_error_expression: Callable[[Self, pp.ErrorExpression], AbstractSet[CollectedT]] = _map_leaf # noqa: E501 + map_node_coordinate_component: Callable[[Self, pp.NodeCoordinateComponent], AbstractSet[CollectedT]] = _map_leaf # noqa: E501 + map_q_weight: Callable[[Self, pp.QWeight], AbstractSet[CollectedT]] = _map_leaf + map_spatial_constant: Callable[[Self, pp.SpatialConstant], AbstractSet[CollectedT]] = _map_leaf # noqa: E501 class OperatorCollector(Collector[pp.IntG]): diff --git a/pytential/symbolic/pde/scalar.py b/pytential/symbolic/pde/scalar.py index 92ba6c3ac..48dc71584 100644 --- a/pytential/symbolic/pde/scalar.py +++ b/pytential/symbolic/pde/scalar.py @@ -239,7 +239,7 @@ def __init__( self, kernel: Kernel, loc_sign: Side, *, - alpha: int | float | complex | None = None, + alpha: complex | None = None, use_l2_weighting: bool = False, kernel_arguments: dict[str, Operand] | None = None) -> None: assert loc_sign in [-1, 1] @@ -400,7 +400,7 @@ class NeumannOperator(L2WeightedPDEOperator): def __init__(self, kernel: Kernel, loc_sign: Side, *, - alpha: int | float | complex | None = None, + alpha: complex | None = None, use_improved_operator: bool = True, use_l2_weighting: bool = False, kernel_arguments: dict[str, Any] | None = None): diff --git a/pytential/unregularized.py b/pytential/unregularized.py index 8e9d43e57..a57bb00f6 100644 --- a/pytential/unregularized.py +++ b/pytential/unregularized.py @@ -138,14 +138,12 @@ def evaluate_wrapper(expr): def op_group_features(self, expr): from pytential.utils import sort_arrays_together - result = ( + return ( expr.source, *sort_arrays_together(expr.source_kernels, expr.densities, key=str), expr.target_kernel.get_base_kernel(), ) - return result - def preprocess_optemplate(self, name, discretizations, expr): """ :arg name: The symbolic name for *self*, which the preprocessor diff --git a/test/extra_int_eq_data.py b/test/extra_int_eq_data.py index ef5101a75..35675ff01 100644 --- a/test/extra_int_eq_data.py +++ b/test/extra_int_eq_data.py @@ -212,12 +212,12 @@ def get_operator(self, ambient_dim: int) -> L2WeightedPDEOperator: # {{{ geometry @abstractmethod - def get_mesh(self, resolution: int | float, mesh_order: int) -> Mesh: + def get_mesh(self, resolution: float, mesh_order: int) -> Mesh: pass def get_discretization(self, actx: ArrayContext, - resolution: int | float, + resolution: float, mesh_order: int) -> Discretization: mesh = self.get_mesh(resolution, mesh_order) return self._get_discretization(actx, mesh) @@ -228,7 +228,7 @@ def _get_discretization(self, actx: ArrayContext, mesh: Mesh) -> Discretization: def get_layer_potential(self, actx: ArrayContext, - resolution: int | float, + resolution: float, mesh_order: int) -> QBXLayerPotentialSource: pre_density_discr = self.get_discretization(actx, resolution, mesh_order) @@ -316,7 +316,7 @@ def _curve_fn(self, t: Array1D) -> Array2D: return self.curve_fn(t) @override - def get_mesh(self, resolution: int | float, mesh_order: int) -> Mesh: + def get_mesh(self, resolution: float, mesh_order: int) -> Mesh: from meshmode.mesh.generation import make_curve_mesh assert isinstance(resolution, int) @@ -410,7 +410,7 @@ class HelmholtzEllisoidTestCase(Helmholtz3DTestCase): check_gradient: bool = True @override - def get_mesh(self, resolution: int | float, mesh_order: int) -> Mesh: + def get_mesh(self, resolution: float, mesh_order: int) -> Mesh: from meshmode.mesh.io import FileSource, generate_gmsh mesh = generate_gmsh( FileSource("ellipsoid.step"), 2, order=mesh_order, @@ -450,7 +450,7 @@ class SphereTestCase(IntegralEquationTestCase): outer_radius: float = 5.0 @override - def get_mesh(self, resolution: int | float, mesh_order: int) -> Mesh: + def get_mesh(self, resolution: float, mesh_order: int) -> Mesh: from meshmode.mesh.generation import generate_sphere assert isinstance(resolution, int) @@ -465,7 +465,7 @@ class SpheroidTestCase(SphereTestCase): aspect_ratio: float = 2.0 @override - def get_mesh(self, resolution: int | float, mesh_order: int) -> Mesh: + def get_mesh(self, resolution: float, mesh_order: int) -> Mesh: mesh = super().get_mesh(resolution, mesh_order) from meshmode.mesh.processing import affine_map @@ -480,7 +480,7 @@ class QuadSpheroidTestCase(SphereTestCase): aspect_ratio: float = 2.0 @override - def get_mesh(self, resolution: int | float, mesh_order: int) -> Mesh: + def get_mesh(self, resolution: float, mesh_order: int) -> Mesh: from meshmode.mesh import TensorProductElementGroup from meshmode.mesh.generation import generate_sphere @@ -504,7 +504,7 @@ class GMSHSphereTestCase(SphereTestCase): resolutions: list[int] = field(default_factory=lambda: [0.4]) @override - def get_mesh(self, resolution: int | float, mesh_order: int) -> Mesh: + def get_mesh(self, resolution: float, mesh_order: int) -> Mesh: from meshmode.mesh import SimplexElementGroup, TensorProductElementGroup from meshmode.mesh.io import ScriptSource if issubclass(self.group_cls, SimplexElementGroup): @@ -561,7 +561,7 @@ class TorusTestCase(IntegralEquationTestCase): resolutions: list[int] = field(default_factory=lambda: [0, 1, 2]) @override - def get_mesh(self, resolution: int | float, mesh_order: int) -> Mesh: + def get_mesh(self, resolution: float, mesh_order: int) -> Mesh: assert isinstance(resolution, int) from meshmode.mesh.generation import generate_torus @@ -585,7 +585,7 @@ class MergedCubesTestCase(Helmholtz3DTestCase): outer_radius: float = 12.0 @override - def get_mesh(self, resolution: int | float, mesh_order: int) -> Mesh: + def get_mesh(self, resolution: float, mesh_order: int) -> Mesh: from meshmode.mesh.io import FileSource, generate_gmsh mesh = generate_gmsh( FileSource("merged-cubes.step"), 2, order=mesh_order, @@ -614,7 +614,7 @@ class ManyEllipsoidTestCase(Helmholtz3DTestCase): nz: int = 2 @override - def get_mesh(self, resolution: int | float, mesh_order: int) -> Mesh: + def get_mesh(self, resolution: float, mesh_order: int) -> Mesh: from meshmode.mesh.io import FileSource, generate_gmsh base_mesh = generate_gmsh( FileSource("ellipsoid.step"), 2, order=mesh_order, @@ -679,7 +679,7 @@ class EllipticPlaneTestCase(IntegralEquationTestCase): from_sep_smaller_crit: str = "static_l2" @override - def get_mesh(self, resolution: int | float, mesh_order: int) -> Mesh: + def get_mesh(self, resolution: float, mesh_order: int) -> Mesh: from pytools import download_from_web_if_not_present download_from_web_if_not_present( @@ -734,7 +734,7 @@ class BetterPlaneTestCase(IntegralEquationTestCase): expansion_disturbance_tolerance: float = 0.3 @override - def get_mesh(self, resolution: int | float, mesh_order: int) -> Mesh: + def get_mesh(self, resolution: float, mesh_order: int) -> Mesh: from pytools import download_from_web_if_not_present download_from_web_if_not_present( diff --git a/test/test_cost_model.py b/test/test_cost_model.py index 738e7c891..958e10940 100644 --- a/test/test_cost_model.py +++ b/test/test_cost_model.py @@ -313,12 +313,10 @@ def get_lpot_source(actx, dim): ) from pytential.qbx import QBXLayerPotentialSource - lpot_source = QBXLayerPotentialSource( + return QBXLayerPotentialSource( pre_density_discr, OVSMP_FACTOR*target_order, **lpot_kwargs) - return lpot_source - def get_density(actx, discr): nodes = actx.thaw(discr.nodes()) diff --git a/test/test_maxwell.py b/test/test_maxwell.py index 6cf55cf56..a9f89d0ab 100644 --- a/test/test_maxwell.py +++ b/test/test_maxwell.py @@ -524,9 +524,9 @@ def eval_repr_at(tgt, source=None, target=None): print(which_eoc) print(eoc_rec.pretty_print()) - if len(eoc_rec.history) > 1: - if eoc_rec.order_estimate() < case.qbx_order - order_tol: - good = False + if (len(eoc_rec.history) > 1 + and eoc_rec.order_estimate() < case.qbx_order - order_tol): + good = False assert good From 39cfa82884fc520dacc490d904f1a6a83cd2e6fd Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Fri, 20 Feb 2026 11:19:00 +0200 Subject: [PATCH 5/5] chore: update baseline --- .basedpyright/baseline.json | 2774 +++++++++-------------------------- 1 file changed, 699 insertions(+), 2075 deletions(-) diff --git a/.basedpyright/baseline.json b/.basedpyright/baseline.json index 68c6bbe19..70e926c43 100644 --- a/.basedpyright/baseline.json +++ b/.basedpyright/baseline.json @@ -291,6 +291,14 @@ "lineCount": 1 } }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 4, + "endColumn": 16, + "lineCount": 1 + } + }, { "code": "reportUnknownMemberType", "range": { @@ -443,6 +451,22 @@ "lineCount": 1 } }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 32, + "endColumn": 53, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 32, + "endColumn": 53, + "lineCount": 1 + } + }, { "code": "reportUnknownMemberType", "range": { @@ -573,6 +597,14 @@ "lineCount": 1 } }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 4, + "endColumn": 16, + "lineCount": 1 + } + }, { "code": "reportUnknownMemberType", "range": { @@ -597,6 +629,22 @@ "lineCount": 1 } }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 24, + "endColumn": 45, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 24, + "endColumn": 45, + "lineCount": 1 + } + }, { "code": "reportArgumentType", "range": { @@ -1728,95 +1776,31 @@ ], "./pytential/linalg/gmres.py": [ { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 4, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 20, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 20, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 23, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 23, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 26, - "endColumn": 39, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 26, - "endColumn": 39, + "startColumn": 46, + "endColumn": 53, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 12, - "endColumn": 13, + "startColumn": 46, + "endColumn": 58, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportCallIssue", "range": { - "startColumn": 27, + "startColumn": 15, "endColumn": 28, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 24, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 47, - "endColumn": 48, - "lineCount": 1 - } - }, - { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 15, "endColumn": 28, @@ -1824,7 +1808,7 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { "startColumn": 26, "endColumn": 27, @@ -1832,55 +1816,7 @@ } }, { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 9, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 12, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportOptionalMemberAccess", - "range": { - "startColumn": 26, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 35, - "endColumn": 51, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 35, - "endColumn": 56, - "lineCount": 1 - } - }, - { - "code": "reportOptionalMemberAccess", - "range": { - "startColumn": 49, - "endColumn": 51, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", + "code": "reportReturnType", "range": { "startColumn": 15, "endColumn": 16, @@ -1888,279 +1824,15 @@ } }, { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 11, - "endColumn": 12, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 11, - "endColumn": 12, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 14, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 14, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 17, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 17, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 31, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 31, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 41, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 41, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 50, - "endColumn": 53, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 50, - "endColumn": 53, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 8, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 22, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 22, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 41, - "endColumn": 61, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 8, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 33, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 33, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 16, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 8, - "endColumn": 16, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 5, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 7, - "endColumn": 8, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 11, - "endColumn": 18, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 20, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 14, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 17, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", + "code": "reportCallIssue", "range": { - "startColumn": 22, - "endColumn": 23, + "startColumn": 15, + "endColumn": 38, "lineCount": 1 } }, { "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 8, - "endColumn": 12, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 13, - "endColumn": 14, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 13, - "endColumn": 14, - "lineCount": 1 - } - }, - { - "code": "reportAny", "range": { "startColumn": 15, "endColumn": 38, @@ -2168,15 +1840,15 @@ } }, { - "code": "reportOptionalCall", + "code": "reportArgumentType", "range": { - "startColumn": 27, - "endColumn": 36, + "startColumn": 23, + "endColumn": 37, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { "startColumn": 27, "endColumn": 36, @@ -2192,66 +1864,34 @@ } }, { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 9, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 9, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 6, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 5, - "lineCount": 1 - } - }, - { - "code": "reportAny", + "code": "reportOperatorIssue", "range": { - "startColumn": 4, - "endColumn": 10, + "startColumn": 31, + "endColumn": 34, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportAssignmentType", "range": { - "startColumn": 18, - "endColumn": 19, + "startColumn": 31, + "endColumn": 34, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportAssignmentType", "range": { - "startColumn": 27, - "endColumn": 34, + "startColumn": 34, + "endColumn": 48, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportAssignmentType", "range": { - "startColumn": 12, - "endColumn": 22, + "startColumn": 33, + "endColumn": 47, "lineCount": 1 } }, @@ -2264,15 +1904,15 @@ } }, { - "code": "reportAny", + "code": "reportOperatorIssue", "range": { - "startColumn": 8, - "endColumn": 14, + "startColumn": 16, + "endColumn": 29, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { "startColumn": 22, "endColumn": 23, @@ -2288,18 +1928,10 @@ } }, { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 8, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportAny", + "code": "reportArgumentType", "range": { - "startColumn": 30, - "endColumn": 36, + "startColumn": 21, + "endColumn": 22, "lineCount": 1 } }, @@ -2312,66 +1944,26 @@ } }, { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 40, - "endColumn": 41, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 35, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 52, - "endColumn": 53, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 47, - "endColumn": 61, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 28, - "endColumn": 42, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { - "startColumn": 48, - "endColumn": 49, + "startColumn": 19, + "endColumn": 20, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { - "startColumn": 43, - "endColumn": 57, + "startColumn": 19, + "endColumn": 20, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportPossiblyUnboundVariable", "range": { - "startColumn": 8, - "endColumn": 23, + "startColumn": 19, + "endColumn": 20, "lineCount": 1 } }, @@ -2379,39 +1971,39 @@ "code": "reportUnknownVariableType", "range": { "startColumn": 8, - "endColumn": 9, + "endColumn": 10, "lineCount": 1 } }, { "code": "reportPossiblyUnboundVariable", "range": { - "startColumn": 19, - "endColumn": 20, + "startColumn": 13, + "endColumn": 14, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 8, - "endColumn": 10, + "startColumn": 16, + "endColumn": 17, "lineCount": 1 } }, { - "code": "reportPossiblyUnboundVariable", + "code": "reportOperatorIssue", "range": { - "startColumn": 13, - "endColumn": 14, + "startColumn": 20, + "endColumn": 33, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportOperatorIssue", "range": { - "startColumn": 30, - "endColumn": 40, + "startColumn": 24, + "endColumn": 33, "lineCount": 1 } }, @@ -2419,39 +2011,39 @@ "code": "reportUnknownVariableType", "range": { "startColumn": 16, - "endColumn": 17, + "endColumn": 18, "lineCount": 1 } }, { - "code": "reportOptionalCall", + "code": "reportOperatorIssue", "range": { - "startColumn": 20, - "endColumn": 33, + "startColumn": 21, + "endColumn": 34, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportOperatorIssue", "range": { - "startColumn": 16, - "endColumn": 17, + "startColumn": 26, + "endColumn": 34, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 16, - "endColumn": 18, + "startColumn": 12, + "endColumn": 13, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportOperatorIssue", "range": { - "startColumn": 12, - "endColumn": 13, + "startColumn": 16, + "endColumn": 19, "lineCount": 1 } }, @@ -2459,15 +2051,15 @@ "code": "reportUnknownVariableType", "range": { "startColumn": 12, - "endColumn": 13, + "endColumn": 14, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportOperatorIssue", "range": { - "startColumn": 12, - "endColumn": 14, + "startColumn": 17, + "endColumn": 21, "lineCount": 1 } }, @@ -2488,18 +2080,18 @@ } }, { - "code": "reportUnknownVariableType", + "code": "reportCallIssue", "range": { "startColumn": 8, - "endColumn": 9, + "endColumn": 12, "lineCount": 1 } }, { - "code": "reportOptionalCall", + "code": "reportArgumentType", "range": { - "startColumn": 12, - "endColumn": 25, + "startColumn": 8, + "endColumn": 12, "lineCount": 1 } }, @@ -2520,103 +2112,79 @@ } }, { - "code": "reportPossiblyUnboundVariable", + "code": "reportOperatorIssue", "range": { "startColumn": 16, - "endColumn": 17, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 9, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 36, - "endColumn": 37, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 31, - "endColumn": 45, + "endColumn": 27, "lineCount": 1 } }, { "code": "reportPossiblyUnboundVariable", "range": { - "startColumn": 32, - "endColumn": 41, + "startColumn": 16, + "endColumn": 17, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportOperatorIssue", "range": { - "startColumn": 23, - "endColumn": 36, + "startColumn": 20, + "endColumn": 27, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 23, - "endColumn": 36, + "startColumn": 8, + "endColumn": 9, "lineCount": 1 } }, { - "code": "reportUnannotatedClassAttribute", + "code": "reportOperatorIssue", "range": { - "startColumn": 13, - "endColumn": 18, + "startColumn": 12, + "endColumn": 22, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportAssignmentType", "range": { - "startColumn": 8, - "endColumn": 26, + "startColumn": 12, + "endColumn": 22, "lineCount": 1 } }, { - "code": "reportUnannotatedClassAttribute", + "code": "reportOperatorIssue", "range": { - "startColumn": 13, - "endColumn": 26, + "startColumn": 16, + "endColumn": 22, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportAssignmentType", "range": { - "startColumn": 23, - "endColumn": 28, + "startColumn": 28, + "endColumn": 43, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 23, - "endColumn": 28, + "startColumn": 29, + "endColumn": 42, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 12, "endColumn": 16, @@ -2624,15 +2192,15 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportCallIssue", "range": { - "startColumn": 27, - "endColumn": 45, + "startColumn": 19, + "endColumn": 60, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportArgumentType", "range": { "startColumn": 27, "endColumn": 59, @@ -2640,21 +2208,13 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 55, "endColumn": 59, "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 21, - "lineCount": 1 - } - }, { "code": "reportAssignmentType", "range": { @@ -2794,7 +2354,7 @@ ], "./pytential/linalg/proxy.py": [ { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 8, "endColumn": 12, @@ -2810,7 +2370,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 29, "endColumn": 33, @@ -3322,7 +2882,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 4, "endColumn": 8, @@ -3338,7 +2898,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 4, "endColumn": 9, @@ -3346,7 +2906,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 44, "endColumn": 48, @@ -3354,7 +2914,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 25, "endColumn": 29, @@ -3362,7 +2922,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 26, "endColumn": 31, @@ -4427,14 +3987,6 @@ } ], "./pytential/qbx/__init__.py": [ - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 26, - "endColumn": 41, - "lineCount": 1 - } - }, { "code": "reportUnannotatedClassAttribute", "range": { @@ -4443,14 +3995,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 12, - "endColumn": 30, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -4787,14 +4331,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 43, - "endColumn": 66, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -4987,14 +4523,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 11, - "endColumn": 34, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -5275,14 +4803,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 11, - "endColumn": 34, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -5771,14 +5291,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 15, - "endColumn": 38, - "lineCount": 1 - } - }, { "code": "reportArgumentType", "range": { @@ -5827,22 +5339,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 24, - "endColumn": 47, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 24, - "endColumn": 47, - "lineCount": 1 - } - }, { "code": "reportUnnecessaryComparison", "range": { @@ -5859,38 +5355,6 @@ "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 34, - "endColumn": 60, - "lineCount": 2 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 34, - "endColumn": 60, - "lineCount": 2 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 34, - "endColumn": 60, - "lineCount": 2 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 34, - "endColumn": 76, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -12561,14 +12025,6 @@ } ], "./pytential/qbx/fmm.py": [ - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 19, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -12617,14 +12073,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 16, - "endColumn": 34, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -12690,7 +12138,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 12, "endColumn": 21, @@ -12698,7 +12146,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 12, "endColumn": 36, @@ -12722,7 +12170,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 22, "endColumn": 31, @@ -12730,7 +12178,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 33, "endColumn": 47, @@ -12738,7 +12186,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 33, "endColumn": 47, @@ -12754,7 +12202,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 28, "endColumn": 37, @@ -12873,22 +12321,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 28, - "endColumn": 37, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 28, - "endColumn": 53, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -12970,7 +12402,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 8, "endColumn": 17, @@ -12978,7 +12410,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 8, "endColumn": 14, @@ -12986,7 +12418,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 17, "endColumn": 55, @@ -12994,7 +12426,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 8, "endColumn": 13, @@ -13002,21 +12434,13 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 16, "endColumn": 53, "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 22, - "endColumn": 51, - "lineCount": 1 - } - }, { "code": "reportAny", "range": { @@ -13034,7 +12458,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 34, "endColumn": 40, @@ -13042,7 +12466,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 33, "endColumn": 38, @@ -13066,7 +12490,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 8, "endColumn": 17, @@ -13090,7 +12514,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 24, "endColumn": 27, @@ -13098,7 +12522,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 41, "endColumn": 76, @@ -13106,7 +12530,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 41, "endColumn": 76, @@ -13114,7 +12538,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 12, "endColumn": 35, @@ -13153,30 +12577,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 28, - "endColumn": 37, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 28, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 28, - "endColumn": 49, - "lineCount": 1 - } - }, { "code": "reportAny", "range": { @@ -13202,7 +12602,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 34, "endColumn": 57, @@ -13210,7 +12610,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 35, "endColumn": 45, @@ -13218,7 +12618,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 35, "endColumn": 45, @@ -13226,7 +12626,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 34, "endColumn": 43, @@ -13234,7 +12634,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 34, "endColumn": 43, @@ -13266,7 +12666,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 8, "endColumn": 12, @@ -13306,7 +12706,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 12, "endColumn": 35, @@ -13338,7 +12738,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 33, "endColumn": 50, @@ -13346,7 +12746,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 33, "endColumn": 50, @@ -13354,37 +12754,13 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 37, "endColumn": 60, "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 28, - "endColumn": 37, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 28, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 28, - "endColumn": 49, - "lineCount": 1 - } - }, { "code": "reportAny", "range": { @@ -13433,14 +12809,6 @@ "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 8, - "endColumn": 11, - "lineCount": 1 - } - }, { "code": "reportAny", "range": { @@ -13457,62 +12825,6 @@ "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 41, - "endColumn": 51, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 41, - "endColumn": 51, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 40, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 40, - "endColumn": 49, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 24, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 24, - "endColumn": 41, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 24, - "endColumn": 41, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -15123,30 +14435,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 25, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 25, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 25, - "endColumn": 43, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -15475,22 +14763,6 @@ "lineCount": 2 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 30, - "endColumn": 38, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 30, - "endColumn": 38, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -15803,14 +15075,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 15, - "endColumn": 23, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -15891,38 +15155,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 34, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 34, - "endColumn": 61, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 43, - "endColumn": 52, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 43, - "endColumn": 79, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -16011,30 +15243,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 18, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 18, - "endColumn": 39, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -16171,14 +15379,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 15, - "endColumn": 23, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -16387,14 +15587,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 15, - "endColumn": 23, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -16491,19 +15683,11 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 15, - "endColumn": 23, - "lineCount": 1 - } - }, { "code": "reportPossiblyUnboundVariable", "range": { - "startColumn": 19, - "endColumn": 22, + "startColumn": 33, + "endColumn": 36, "lineCount": 1 } }, @@ -16684,15 +15868,7 @@ } }, { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 42, - "endColumn": 51, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", + "code": "reportOptionalSubscript", "range": { "startColumn": 42, "endColumn": 71, @@ -16707,14 +15883,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 19, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -16772,15 +15940,7 @@ } }, { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 42, - "endColumn": 51, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", + "code": "reportOptionalSubscript", "range": { "startColumn": 42, "endColumn": 71, @@ -16835,14 +15995,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 15, - "endColumn": 23, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -17307,62 +16459,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 23, - "endColumn": 32, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 23, - "endColumn": 41, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 41, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 25, - "endColumn": 55, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 26, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 36, - "endColumn": 45, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 36, - "endColumn": 54, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -17411,38 +16507,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 34, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 34, - "endColumn": 61, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 43, - "endColumn": 52, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 43, - "endColumn": 79, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -17973,14 +17037,6 @@ "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 8, - "endColumn": 19, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -18030,55 +17086,39 @@ } }, { - "code": "reportAny", - "range": { - "startColumn": 15, - "endColumn": 34, - "lineCount": 4 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 8, - "endColumn": 16, - "lineCount": 1 - } - }, - { - "code": "reportAny", + "code": "reportArgumentType", "range": { - "startColumn": 48, - "endColumn": 65, + "startColumn": 36, + "endColumn": 55, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { - "startColumn": 48, - "endColumn": 65, + "startColumn": 12, + "endColumn": 19, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { - "startColumn": 12, - "endColumn": 19, + "startColumn": 22, + "endColumn": 34, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { - "startColumn": 16, + "startColumn": 36, "endColumn": 44, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportArgumentType", "range": { "startColumn": 16, "endColumn": 49, @@ -18094,50 +17134,18 @@ } }, { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 12, - "lineCount": 1 - } - }, - { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { - "startColumn": 8, - "endColumn": 19, + "startColumn": 52, + "endColumn": 70, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownParameterType", "range": { "startColumn": 8, - "endColumn": 18, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 32, - "endColumn": 52, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 41, - "endColumn": 61, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 41, - "endColumn": 61, + "endColumn": 12, "lineCount": 1 } }, @@ -18149,14 +17157,6 @@ "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 39, - "endColumn": 49, - "lineCount": 1 - } - }, { "code": "reportIndexIssue", "range": { @@ -18165,14 +17165,6 @@ "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 25, - "endColumn": 45, - "lineCount": 1 - } - }, { "code": "reportIndexIssue", "range": { @@ -18181,14 +17173,6 @@ "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 24, - "endColumn": 44, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -18245,14 +17229,6 @@ "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 24, - "endColumn": 43, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -18318,7 +17294,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownParameterType", "range": { "startColumn": 8, "endColumn": 17, @@ -18334,7 +17310,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 8, "endColumn": 12, @@ -18350,7 +17326,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 12, "endColumn": 16, @@ -18358,7 +17334,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 19, "endColumn": 41, @@ -18366,7 +17342,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 15, "endColumn": 32, @@ -18374,7 +17350,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 27, "endColumn": 31, @@ -18390,7 +17366,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 8, "endColumn": 12, @@ -18494,7 +17470,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 26, "endColumn": 43, @@ -18502,7 +17478,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 30, "endColumn": 47, @@ -18510,7 +17486,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 30, "endColumn": 47, @@ -18662,7 +17638,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 26, "endColumn": 43, @@ -18670,7 +17646,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 26, "endColumn": 43, @@ -18694,7 +17670,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 8, "endColumn": 17, @@ -18702,7 +17678,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 8, "endColumn": 19, @@ -18710,7 +17686,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 22, "endColumn": 57, @@ -18718,7 +17694,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 16, "endColumn": 38, @@ -18726,7 +17702,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 16, "endColumn": 38, @@ -18734,7 +17710,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 47, "endColumn": 61, @@ -18742,7 +17718,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 47, "endColumn": 74, @@ -18750,7 +17726,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 47, "endColumn": 74, @@ -18782,7 +17758,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 46, "endColumn": 74, @@ -18790,7 +17766,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 24, "endColumn": 54, @@ -18798,7 +17774,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 24, "endColumn": 54, @@ -18806,7 +17782,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 30, "endColumn": 44, @@ -18814,7 +17790,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 30, "endColumn": 57, @@ -18822,7 +17798,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 30, "endColumn": 57, @@ -18910,31 +17886,7 @@ } }, { - "code": "reportAny", - "range": { - "startColumn": 8, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 29, - "endColumn": 48, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 29, - "endColumn": 67, - "lineCount": 1 - } - }, - { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 8, "endColumn": 24, @@ -18942,23 +17894,7 @@ } }, { - "code": "reportAny", - "range": { - "startColumn": 16, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 16, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 38, "endColumn": 71, @@ -18966,7 +17902,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 38, "endColumn": 77, @@ -18974,7 +17910,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 38, "endColumn": 77, @@ -19006,21 +17942,13 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 33, "endColumn": 66, "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 8, - "endColumn": 30, - "lineCount": 1 - } - }, { "code": "reportIndexIssue", "range": { @@ -19109,14 +18037,6 @@ "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 15, - "endColumn": 60, - "lineCount": 3 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -19190,7 +18110,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 8, "endColumn": 12, @@ -19214,7 +18134,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 65, "endColumn": 69, @@ -19509,30 +18429,6 @@ "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 8, - "endColumn": 13, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 32, - "endColumn": 45, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 32, - "endColumn": 45, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -20306,8 +19202,8 @@ { "code": "reportUnknownArgumentType", "range": { - "startColumn": 61, - "endColumn": 64, + "startColumn": 62, + "endColumn": 65, "lineCount": 1 } }, @@ -20730,8 +19626,8 @@ { "code": "reportUnknownArgumentType", "range": { - "startColumn": 61, - "endColumn": 64, + "startColumn": 62, + "endColumn": 65, "lineCount": 1 } }, @@ -25923,14 +24819,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 16, - "endColumn": 20, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -25979,22 +24867,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 35, - "endColumn": 47, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 35, - "endColumn": 47, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -26019,30 +24891,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 16, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 16, - "endColumn": 32, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 34, - "endColumn": 51, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -26059,14 +24907,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 16, - "endColumn": 38, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -26083,62 +24923,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 23, - "endColumn": 45, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 46, - "endColumn": 72, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 29, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 53, - "endColumn": 57, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 61, - "endColumn": 73, - "lineCount": 1 - } - }, { "code": "reportAny", "range": { @@ -26211,14 +24995,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 16, - "endColumn": 20, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -26228,47 +25004,7 @@ } }, { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 16, - "endColumn": 45, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 16, - "endColumn": 45, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 16, - "endColumn": 44, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 16, - "endColumn": 44, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 16, - "endColumn": 42, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", + "code": "reportAny", "range": { "startColumn": 16, "endColumn": 48, @@ -26276,7 +25012,7 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportAny", "range": { "startColumn": 16, "endColumn": 48, @@ -26284,15 +25020,7 @@ } }, { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 16, - "endColumn": 42, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", + "code": "reportAny", "range": { "startColumn": 16, "endColumn": 48, @@ -26300,29 +25028,13 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportAny", "range": { "startColumn": 16, "endColumn": 48, "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 16, - "endColumn": 38, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 16, - "endColumn": 38, - "lineCount": 1 - } - }, { "code": "reportAny", "range": { @@ -26339,38 +25051,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 17, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 17, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 24, - "endColumn": 40, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 24, - "endColumn": 40, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -26403,22 +25083,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 41, - "endColumn": 57, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 41, - "endColumn": 57, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -26435,14 +25099,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 16, - "endColumn": 20, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -26523,22 +25179,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 35, - "endColumn": 47, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 35, - "endColumn": 47, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -26563,30 +25203,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 16, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 16, - "endColumn": 32, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 34, - "endColumn": 51, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -26603,14 +25219,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 16, - "endColumn": 38, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -26643,30 +25251,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 33, - "endColumn": 55, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 33, - "endColumn": 83, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -26676,34 +25260,10 @@ } }, { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 29, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 53, - "endColumn": 57, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", + "code": "reportAttributeAccessIssue", "range": { "startColumn": 61, - "endColumn": 73, + "endColumn": 82, "lineCount": 1 } }, @@ -26782,13 +25342,13 @@ { "code": "reportUnknownMemberType", "range": { - "startColumn": 59, - "endColumn": 75, + "startColumn": 32, + "endColumn": 48, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { "startColumn": 32, "endColumn": 48, @@ -26796,9 +25356,9 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 32, + "startColumn": 37, "endColumn": 48, "lineCount": 1 } @@ -26859,14 +25419,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 16, - "endColumn": 20, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -26891,6 +25443,14 @@ "lineCount": 1 } }, + { + "code": "reportAttributeAccessIssue", + "range": { + "startColumn": 21, + "endColumn": 45, + "lineCount": 1 + } + }, { "code": "reportUnknownMemberType", "range": { @@ -26907,6 +25467,14 @@ "lineCount": 1 } }, + { + "code": "reportAttributeAccessIssue", + "range": { + "startColumn": 21, + "endColumn": 44, + "lineCount": 1 + } + }, { "code": "reportUnknownMemberType", "range": { @@ -26932,9 +25500,9 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 16, + "startColumn": 21, "endColumn": 42, "lineCount": 1 } @@ -26943,12 +25511,12 @@ "code": "reportUnknownMemberType", "range": { "startColumn": 16, - "endColumn": 48, + "endColumn": 42, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownMemberType", "range": { "startColumn": 16, "endColumn": 48, @@ -26956,18 +25524,18 @@ } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { "startColumn": 16, - "endColumn": 38, + "endColumn": 48, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 16, - "endColumn": 38, + "startColumn": 21, + "endColumn": 42, "lineCount": 1 } }, @@ -27022,21 +25590,13 @@ { "code": "reportUnknownMemberType", "range": { - "startColumn": 17, - "endColumn": 29, + "startColumn": 24, + "endColumn": 40, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", - "range": { - "startColumn": 17, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", "range": { "startColumn": 24, "endColumn": 40, @@ -27044,9 +25604,9 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 24, + "startColumn": 29, "endColumn": 40, "lineCount": 1 } @@ -27923,14 +26483,6 @@ "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 8, - "endColumn": 39, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -27988,15 +26540,7 @@ } }, { - "code": "reportAny", - "range": { - "startColumn": 15, - "endColumn": 70, - "lineCount": 1 - } - }, - { - "code": "reportAny", + "code": "reportUnknownParameterType", "range": { "startColumn": 4, "endColumn": 36, @@ -28059,14 +26603,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 8, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -28107,30 +26643,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 42, - "endColumn": 46, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 34, - "endColumn": 50, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 34, - "endColumn": 50, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -28155,14 +26667,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 12, - "endColumn": 16, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -28171,14 +26675,6 @@ "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 4, - "endColumn": 16, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -28188,23 +26684,7 @@ } }, { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 60, - "endColumn": 76, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 60, - "endColumn": 76, - "lineCount": 1 - } - }, - { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 15, "endColumn": 40, @@ -28212,7 +26692,7 @@ } }, { - "code": "reportAny", + "code": "reportArgumentType", "range": { "startColumn": 27, "endColumn": 39, @@ -28243,14 +26723,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 12, - "endColumn": 16, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -28259,14 +26731,6 @@ "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 26, - "endColumn": 38, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -28299,22 +26763,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 37, - "endColumn": 54, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 37, - "endColumn": 54, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -28323,14 +26771,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 16, - "endColumn": 20, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -28340,7 +26780,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 11, "endColumn": 36, @@ -28348,7 +26788,7 @@ } }, { - "code": "reportAny", + "code": "reportArgumentType", "range": { "startColumn": 23, "endColumn": 35, @@ -28535,14 +26975,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 18, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -28647,14 +27079,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 15, - "endColumn": 50, - "lineCount": 5 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -28775,22 +27199,6 @@ "lineCount": 1 } }, - { - "code": "reportUntypedBaseClass", - "range": { - "startColumn": 26, - "endColumn": 30, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 4, - "endColumn": 32, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -29424,15 +27832,335 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 4, - "endColumn": 8, + "startColumn": 21, + "endColumn": 30, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 10, + "endColumn": 20, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", "range": { "startColumn": 11, "endColumn": 28, @@ -29440,7 +28168,7 @@ } }, { - "code": "reportAny", + "code": "reportArgumentType", "range": { "startColumn": 23, "endColumn": 27, @@ -30472,31 +29200,31 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { - "startColumn": 21, - "endColumn": 26, - "lineCount": 1 + "startColumn": 15, + "endColumn": 58, + "lineCount": 4 } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { - "startColumn": 35, - "endColumn": 40, + "startColumn": 37, + "endColumn": 51, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 37, + "startColumn": 43, "endColumn": 51, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 40, "endColumn": 57, @@ -30504,7 +29232,15 @@ } }, { - "code": "reportAny", + "code": "reportAttributeAccessIssue", + "range": { + "startColumn": 46, + "endColumn": 57, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", "range": { "startColumn": 40, "endColumn": 57, @@ -30512,18 +29248,18 @@ } }, { - "code": "reportImplicitOverride", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 8, - "endColumn": 14, + "startColumn": 46, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportImplicitOverride", "range": { - "startColumn": 21, - "endColumn": 26, + "startColumn": 8, + "endColumn": 14, "lineCount": 1 } }, @@ -30865,14 +29601,6 @@ "lineCount": 1 } }, - { - "code": "reportAbstractUsage", - "range": { - "startColumn": 19, - "endColumn": 18, - "lineCount": 4 - } - }, { "code": "reportCallIssue", "range": { @@ -31001,14 +29729,6 @@ "lineCount": 1 } }, - { - "code": "reportAbstractUsage", - "range": { - "startColumn": 19, - "endColumn": 18, - "lineCount": 4 - } - }, { "code": "reportCallIssue", "range": { @@ -31217,6 +29937,14 @@ "lineCount": 1 } }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 8, + "endColumn": 19, + "lineCount": 1 + } + }, { "code": "reportAny", "range": { @@ -31233,19 +29961,27 @@ "lineCount": 1 } }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 15, + "endColumn": 35, + "lineCount": 1 + } + }, { "code": "reportArgumentType", "range": { - "startColumn": 23, - "endColumn": 31, + "startColumn": 21, + "endColumn": 29, "lineCount": 1 } }, { "code": "reportArgumentType", "range": { - "startColumn": 33, - "endColumn": 36, + "startColumn": 31, + "endColumn": 34, "lineCount": 1 } }, @@ -32474,7 +31210,7 @@ } }, { - "code": "reportAssignmentType", + "code": "reportReturnType", "range": { "startColumn": 11, "endColumn": 50, @@ -34043,14 +32779,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 41, - "endColumn": 57, - "lineCount": 1 - } - }, { "code": "reportMissingTypeArgument", "range": { @@ -34147,6 +32875,14 @@ "lineCount": 1 } }, + { + "code": "reportMissingTypeArgument", + "range": { + "startColumn": 22, + "endColumn": 41, + "lineCount": 1 + } + }, { "code": "reportUnreachable", "range": { @@ -41575,6 +40311,14 @@ } ], "./pytential/symbolic/primitives.py": [ + { + "code": "reportIncompatibleMethodOverride", + "range": { + "startColumn": 8, + "endColumn": 24, + "lineCount": 1 + } + }, { "code": "reportReturnType", "range": { @@ -41619,7 +40363,7 @@ "code": "reportUnreachable", "range": { "startColumn": 12, - "endColumn": 77, + "endColumn": 76, "lineCount": 1 } }, @@ -45181,14 +43925,6 @@ } ], "./pytential/unregularized.py": [ - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 26, - "endColumn": 41, - "lineCount": 1 - } - }, { "code": "reportRedeclaration", "range": { @@ -45341,14 +44077,6 @@ "lineCount": 2 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 42, - "endColumn": 65, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -45493,14 +44221,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 11, - "endColumn": 34, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -45885,14 +44605,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 15, - "endColumn": 38, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -46134,7 +44846,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { "startColumn": 20, "endColumn": 51, @@ -46142,7 +44854,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 20, "endColumn": 51, @@ -46214,21 +44926,13 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 28, "endColumn": 48, "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 16, - "endColumn": 39, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -46269,38 +44973,6 @@ "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 34, - "endColumn": 48, - "lineCount": 2 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 34, - "endColumn": 48, - "lineCount": 2 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 34, - "endColumn": 48, - "lineCount": 2 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 34, - "endColumn": 76, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -46374,7 +45046,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownParameterType", "range": { "startColumn": 8, "endColumn": 17, @@ -46382,7 +45054,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 8, "endColumn": 12, @@ -46390,7 +45062,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 22, "endColumn": 33, @@ -46398,7 +45070,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 15, "endColumn": 32, @@ -46406,7 +45078,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownArgumentType", "range": { "startColumn": 27, "endColumn": 31, @@ -46414,45 +45086,13 @@ } }, { - "code": "reportAny", + "code": "reportUnknownParameterType", "range": { "startColumn": 8, "endColumn": 12, "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 8, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 8, - "endColumn": 18, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 32, - "endColumn": 52, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 39, - "endColumn": 49, - "lineCount": 1 - } - }, { "code": "reportIndexIssue", "range": { @@ -46478,7 +45118,7 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 8, "endColumn": 12, @@ -46494,15 +45134,7 @@ } }, { - "code": "reportAny", - "range": { - "startColumn": 24, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportAny", + "code": "reportArgumentType", "range": { "startColumn": 24, "endColumn": 43, @@ -46510,21 +45142,13 @@ } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 15, "endColumn": 19, "lineCount": 1 } }, - { - "code": "reportAny", - "range": { - "startColumn": 8, - "endColumn": 19, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -46566,11 +45190,11 @@ } }, { - "code": "reportAny", + "code": "reportArgumentType", "range": { - "startColumn": 15, - "endColumn": 34, - "lineCount": 4 + "startColumn": 36, + "endColumn": 55, + "lineCount": 1 } } ],