From 7ae99d0c824bd2b267507fa995a929e7c1d6662a Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Fri, 1 Aug 2025 15:51:38 +0300 Subject: [PATCH 1/9] feat(typing): add type annotations to ProcessTimer --- pytools/__init__.py | 58 ++++++++++++++++++++++++++++++++------------- 1 file changed, 42 insertions(+), 16 deletions(-) diff --git a/pytools/__init__.py b/pytools/__init__.py index 433cbcad..aaa85d8a 100644 --- a/pytools/__init__.py +++ b/pytools/__init__.py @@ -64,6 +64,8 @@ if TYPE_CHECKING: + import types + from _typeshed import ReadableBuffer from typing_extensions import Self @@ -2525,46 +2527,70 @@ def reshaped_view(a, newshape): class ProcessTimer: """Measures elapsed wall time and process time. + .. versionadded:: 2018.5 + + .. autoattribute:: wall_elapsed + .. autoattribute:: process_elapsed + .. automethod:: __enter__ .. automethod:: __exit__ .. automethod:: done + """ - Timing data attributes: - - .. attribute:: wall_elapsed - .. attribute:: process_elapsed + perf_counter_start: float + process_time_start: float - .. versionadded:: 2018.5 - """ + wall_elapsed: float | None + """Elapsed wall time since the timer was started.""" + process_elapsed: float | None + """Elapsed process time since the timer was started. This is a sum of the + system and user CPU time for the current process.""" - def __init__(self): + def __init__(self) -> None: import time + self.perf_counter_start = time.perf_counter() self.process_time_start = time.process_time() self.wall_elapsed = None self.process_elapsed = None - def __enter__(self): + def __enter__(self) -> Self: + self.wall_elapsed = None + self.process_elapsed = None + return self - def __exit__(self, exc_type, exc_val, exc_tb): + def __exit__(self, + exc_type: type[BaseException], + exc_val: BaseException | None, + exc_tb: types.TracebackType | None) -> None: self.done() - def done(self): + def done(self) -> None: + """Update elapsed time since the creation of the timer.""" import time + self.wall_elapsed = time.perf_counter() - self.perf_counter_start self.process_elapsed = time.process_time() - self.process_time_start @override - def __str__(self): - cpu = self.process_elapsed / self.wall_elapsed - return f"{self.wall_elapsed:.2f}s wall {cpu:.2f}x CPU" + def __str__(self) -> str: + if self.wall_elapsed is None or self.process_elapsed is None: + wall = cpu = 0.0 + else: + wall = self.wall_elapsed + cpu = self.process_elapsed / wall + + return f"{wall:.2f}s wall {cpu:.2f}x CPU" @override - def __repr__(self): - wall = self.wall_elapsed - process = self.process_elapsed + def __repr__(self) -> str: + if self.wall_elapsed is None or self.process_elapsed is None: + wall = process = 0.0 + else: + wall = self.wall_elapsed + process = self.process_elapsed return (f"{type(self).__name__}" f"(wall_elapsed={wall!r}s, process_elapsed={process!r}s)") From 4cda64e52dd1f8b6fa06e707f51ec21e31530de5 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Fri, 1 Aug 2025 20:08:44 +0300 Subject: [PATCH 2/9] feat(typing): add type annotations to MovedFunctionDeprecationWrapper --- pytools/__init__.py | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/pytools/__init__.py b/pytools/__init__.py index aaa85d8a..ac8702e4 100644 --- a/pytools/__init__.py +++ b/pytools/__init__.py @@ -165,7 +165,6 @@ Deprecation Warnings -------------------- -.. autofunction:: deprecate_keyword .. autofunction:: module_getattr_for_deprecations Functions for dealing with (large) auxiliary files @@ -275,15 +274,20 @@ # Undocumented on purpose for now, unclear that this is a great idea, given # that typing.deprecated exists. -class MovedFunctionDeprecationWrapper: - def __init__(self, f: F, deadline: int | str | None = None) -> None: +class MovedFunctionDeprecationWrapper(Generic[P, R]): + f: Callable[P, R] + deadline: int | str + + def __init__(self, + f: Callable[P, R], + deadline: int | str | None = None) -> None: if deadline is None: deadline = "the future" self.f = f self.deadline = deadline - def __call__(self, *args, **kwargs): + def __call__(self, *args: P.args, **kwargs: P.kwargs) -> R: from warnings import warn warn(f"This function is deprecated and will go away in {self.deadline}. " f"Use {self.f.__module__}.{self.f.__name__} instead.", @@ -292,9 +296,12 @@ def __call__(self, *args, **kwargs): return self.f(*args, **kwargs) -def deprecate_keyword(oldkey: str, +# Deprecated. Should probably use `typing.deprecated` instead. +def deprecate_keyword( + oldkey: str, newkey: str | None = None, *, - deadline: str | None = None): + deadline: str | None = None + ): """Decorator used to deprecate function keyword arguments. :arg oldkey: deprecated argument name. @@ -306,6 +313,10 @@ def deprecate_keyword(oldkey: str, if deadline is None: deadline = "the future" + warn("'deprecate_keyword' is itself deprecated and will go away in Q1 2026. " + "Use 'warnings.deprecated' or a custom deprecation warning.", + DeprecationWarning, stacklevel=2) + def wrapper(func): @wraps(func) def inner_wrapper(*args, **kwargs): From 844bdfd8994ce945da3b3f9905bb77aa90296c0d Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Fri, 1 Aug 2025 20:09:24 +0300 Subject: [PATCH 3/9] feat(typing): add type annotations to UniqueNameGenerator --- pytools/__init__.py | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/pytools/__init__.py b/pytools/__init__.py index ac8702e4..031cd1d2 100644 --- a/pytools/__init__.py +++ b/pytools/__init__.py @@ -2212,13 +2212,13 @@ def __exit__(self, exc_type: Any, exc_val: Any, exc_tb: Any) -> None: # {{{ file system related -def assert_not_a_file(name): +def assert_not_a_file(name: str) -> None: import os if os.access(name, os.F_OK): - raise OSError(f"file `{name}' already exists") + raise OSError(f"file '{name}' already exists") -def add_python_path_relative_to_script(rel_path): +def add_python_path_relative_to_script(rel_path: str) -> None: from os.path import abspath, dirname, join script_name = sys.argv[0] @@ -2266,7 +2266,7 @@ def match_precision(dtype, dtype_to_match): # {{{ unique name generation -def generate_unique_names(prefix): +def generate_unique_names(prefix: str) -> Iterator[str]: yield prefix try_num = 0 @@ -2307,6 +2307,12 @@ class UniqueNameGenerator: .. automethod:: add_names .. automethod:: __call__ """ + + existing_names: set[str] + forced_prefix: str + forced_suffix: str + prefix_to_counter: dict[str, int] + def __init__(self, existing_names: Collection[str] | None = None, forced_prefix: str = "", @@ -2324,14 +2330,14 @@ def __init__(self, self.existing_names = set(existing_names) self.forced_prefix = forced_prefix - self.forced_suffix: str = forced_suffix - self.prefix_to_counter: dict[str, int] = {} + self.forced_suffix = forced_suffix + self.prefix_to_counter = {} def is_name_conflicting(self, name: str) -> bool: """Returns *True* if *name* conflicts with an existing :class:`str`.""" return name in self.existing_names - def _name_added(self, name: str) -> None: + def _name_added(self, name: str) -> None: # pyright: ignore[reportUnusedParameter] """Callback to alert subclasses when a name has been added. .. note:: @@ -2384,17 +2390,23 @@ def __call__(self, based_on: str = "id") -> str: # }}} - for counter, var_name in generate_numbered_unique_names( # noqa: B020,B007 + var_name = None + for try_counter, try_var_name in generate_numbered_unique_names( based_on, counter, self.forced_suffix): - if not self.is_name_conflicting(var_name): + if not self.is_name_conflicting(try_var_name): + counter = try_counter + var_name = try_var_name break - self.prefix_to_counter[based_on] = counter + if counter is None or var_name is None: + raise ValueError("could not find a non-conflicting name") - var_name = intern(var_name) # pylint: disable=undefined-loop-variable + self.prefix_to_counter[based_on] = counter + var_name = intern(var_name) self.existing_names.add(var_name) self._name_added(var_name) + return var_name # }}} From f22abd719251aa74a130612e448721ab71d3a6c7 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Fri, 1 Aug 2025 20:09:59 +0300 Subject: [PATCH 4/9] feat(typing): add type annotations to MinRecursionLimit --- pytools/__init__.py | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/pytools/__init__.py b/pytools/__init__.py index 031cd1d2..b9f7ecd8 100644 --- a/pytools/__init__.py +++ b/pytools/__init__.py @@ -2415,15 +2415,22 @@ def __call__(self, based_on: str = "id") -> str: # {{{ recursion limit class MinRecursionLimit: - def __init__(self, min_rec_limit): + min_rec_limit: int + prev_recursion_limit: int | None + + def __init__(self, min_rec_limit: int) -> None: self.min_rec_limit = min_rec_limit + self.prev_recursion_limit = None - def __enter__(self): + def __enter__(self) -> None: self.prev_recursion_limit = sys.getrecursionlimit() new_limit = max(self.prev_recursion_limit, self.min_rec_limit) sys.setrecursionlimit(new_limit) - def __exit__(self, exc_type, exc_val, exc_tb): + def __exit__(self, + exc_type: type[BaseException], + exc_val: BaseException | None, + exc_tb: types.TracebackType | None) -> None: # Deep recursion can produce deeply nested data structures # (or long chains of to-be gc'd generators) that cannot be # undergo garbage collection with a lower recursion limit. @@ -2441,7 +2448,7 @@ def __exit__(self, exc_type, exc_val, exc_tb): # {{{ download from web if not present -def download_from_web_if_not_present(url, local_name=None): +def download_from_web_if_not_present(url: str, local_name: str | None = None) -> None: """ .. versionadded:: 2017.5 """ @@ -2469,7 +2476,7 @@ def download_from_web_if_not_present(url, local_name=None): # {{{ find git revisions -def find_git_revision(tree_root): +def find_git_revision(tree_root: str) -> str | None: # Keep this routine self-contained so that it can be copy-pasted into # setup.py. @@ -2483,7 +2490,7 @@ def find_git_revision(tree_root): # stolen from # https://github.com/numpy/numpy/blob/055ce3e90b50b5f9ef8cf1b8641c42e391f10735/setup.py#L70-L92 import os - env = {} + env: dict[str, Any] = {} for k in ["SYSTEMROOT", "PATH", "HOME"]: v = os.environ.get(k) if v is not None: @@ -2513,7 +2520,7 @@ def find_git_revision(tree_root): return git_rev -def find_module_git_revision(module_file, n_levels_up): +def find_module_git_revision(module_file: str, n_levels_up: int) -> str | None: from os.path import dirname, join tree_root = join(*([dirname(module_file), ".." * n_levels_up])) @@ -2524,8 +2531,8 @@ def find_module_git_revision(module_file, n_levels_up): # {{{ create a reshaped view of a numpy array -def reshaped_view(a, newshape): - """ Create a new view object with shape ``newshape`` without copying the data of +def reshaped_view(a, newshape: int | tuple[int, ...]): + """Create a new view object with shape ``newshape`` without copying the data of ``a``. This function is different from ``numpy.reshape`` by raising an exception when data copy is necessary. From f7bc0b3efac5de0b2a4c698eea593ceb8312bd95 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Fri, 1 Aug 2025 20:10:48 +0300 Subject: [PATCH 5/9] feat(typing): add type annotations to ProcessLogger --- pytools/__init__.py | 59 +++++++++++++++++++++++++++++++++++---------- 1 file changed, 46 insertions(+), 13 deletions(-) diff --git a/pytools/__init__.py b/pytools/__init__.py index b9f7ecd8..767db5e1 100644 --- a/pytools/__init__.py +++ b/pytools/__init__.py @@ -64,6 +64,7 @@ if TYPE_CHECKING: + import threading import types from _typeshed import ReadableBuffer @@ -2630,8 +2631,12 @@ def __repr__(self) -> str: # {{{ log utilities -def _log_start_if_long(logger, sleep_duration, done_indicator, - noisy_level, description): +def _log_start_if_long( + logger: logging.Logger, + sleep_duration: float, + done_indicator: list[bool], + noisy_level: int, + description: str) -> None: from time import sleep sleep(sleep_duration) @@ -2652,11 +2657,25 @@ class ProcessLogger: .. automethod:: __exit__ """ - default_noisy_level = logging.INFO + default_noisy_level: ClassVar[int] = logging.INFO + + logger: logging.Logger + description: str + silent_level: int + noisy_level: int + long_threshold_seconds: float + late_start_log_thread: threading.Thread + timer: ProcessTimer + + _done_indicator: list[bool] def __init__( - self, logger, description, - silent_level=None, noisy_level=None, long_threshold_seconds=None): + self, + logger: logging.Logger, + description: str, + silent_level: int | None = None, + noisy_level: int | None = None, + long_threshold_seconds: float | None = None) -> None: self.logger = logger self.description = description self.silent_level = silent_level or logging.DEBUG @@ -2710,14 +2729,18 @@ def __init__( self.timer = ProcessTimer() - def done( - self, extra_msg=None, *extra_fmt_args): + def done(self, + extra_msg: str | None = None, + *extra_fmt_args: str) -> None: self.timer.done() self._done_indicator[0] = True + wall = self.timer.wall_elapsed + assert wall is not None + completion_level = ( self.noisy_level - if self.timer.wall_elapsed > self.long_threshold_seconds + if wall > self.long_threshold_seconds else self.silent_level) msg = "%s: completed (%s)" @@ -2732,12 +2755,15 @@ def done( def __enter__(self): pass - def __exit__(self, exc_type, exc_val, exc_tb): + def __exit__(self, + exc_type: type[BaseException], + exc_val: BaseException | None, + exc_tb: types.TracebackType | None) -> None: self.done() class DebugProcessLogger(ProcessLogger): - default_noisy_level = logging.DEBUG + default_noisy_level: ClassVar[int] = logging.DEBUG class log_process: # noqa: N801 @@ -2748,13 +2774,20 @@ class log_process: # noqa: N801 .. automethod:: __call__ """ - def __init__(self, logger, description=None, long_threshold_seconds=None): + logger: logging.Logger + description: str | None + long_threshold_seconds: float | None + + def __init__(self, + logger: logging.Logger, + description: str | None = None, + long_threshold_seconds: float | None = None) -> None: self.logger = logger self.description = description self.long_threshold_seconds = long_threshold_seconds - def __call__(self, wrapped): - def wrapper(*args, **kwargs): + def __call__(self, wrapped: Callable[P, R]) -> Callable[P, R]: + def wrapper(*args: P.args, **kwargs: P.kwargs) -> R: with ProcessLogger( self.logger, self.description or wrapped.__name__, From 4dc07b8bb1c7381b245c82b33e5756fd1624df8e Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Fri, 1 Aug 2025 20:11:10 +0300 Subject: [PATCH 6/9] feat(typing): add type annotations to sphere_sample --- pytools/__init__.py | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/pytools/__init__.py b/pytools/__init__.py index 767db5e1..89b07705 100644 --- a/pytools/__init__.py +++ b/pytools/__init__.py @@ -67,7 +67,9 @@ import threading import types + import numpy as np from _typeshed import ReadableBuffer + from numpy.typing import NDArray from typing_extensions import Self @@ -2804,7 +2806,7 @@ def wrapper(*args: P.args, **kwargs: P.kwargs) -> R: # {{{ sorting in natural order -def natorder(item): +def natorder(item: str) -> list[int]: """Return a key for natural order string comparison. See :func:`natsorted`. @@ -2812,7 +2814,8 @@ def natorder(item): .. versionadded:: 2020.1 """ import re - result = [] + + result: list[int] = [] for (int_val, string_val) in re.findall(r"(\d+)|(\D+)", item): if int_val: result.append(int(int_val)) @@ -2826,7 +2829,9 @@ def natorder(item): return result -def natsorted(iterable, key=None, reverse=False): +def natsorted(iterable: Iterable[T], + key: Callable[[T], str] | None = None, + reverse: bool = False) -> Sequence[T]: """Sort using natural order [1]_, as opposed to lexicographic order. Example:: @@ -2848,9 +2853,12 @@ def natsorted(iterable, key=None, reverse=False): .. versionadded:: 2020.1 """ + def identity(x: T) -> str: + return x # pyright: ignore[reportReturnType] + if key is None: - def key(x): - return x + key = identity + return sorted(iterable, key=lambda y: natorder(key(y)), reverse=reverse) # }}} @@ -2865,7 +2873,7 @@ def key(x): del _DOTTED_WORDS -def resolve_name(name): +def resolve_name(name: str) -> Any: """A backport of :func:`pkgutil.resolve_name` (added in Python 3.9). .. versionadded:: 2021.1.2 @@ -2966,7 +2974,8 @@ def unordered_hash(hash_instance: _HashT, # {{{ sphere_sample -def sphere_sample_equidistant(npoints_approx: int, r: float = 1.0): +def sphere_sample_equidistant(npoints_approx: int, + r: float = 1.0) -> NDArray[np.floating]: """Generate points regularly distributed on a sphere based on https://www.cmu.edu/biolphys/deserno/pdf/sphere_equi.pdf. @@ -3015,7 +3024,7 @@ def sphere_sample_equidistant(npoints_approx: int, r: float = 1.0): def sphere_sample_fibonacci( npoints: int, r: float = 1.0, *, - optimize: str | None = None): + optimize: str | None = None) -> NDArray[np.floating]: """Generate points on a sphere based on an offset Fibonacci lattice from [2]_. .. [2] http://extremelearning.com.au/how-to-evenly-distribute-points-on-a-sphere-more-effectively-than-the-canonical-fibonacci-lattice/ From 6dca84e903c2912872da7bccb14cf5c396fcdc94 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Fri, 1 Aug 2025 15:51:02 +0300 Subject: [PATCH 7/9] feat: use helper that re-routes missing references --- doc/conf.py | 44 +++++++++++++++++++++----------------------- pytools/__init__.py | 4 ++++ pytools/obj_array.py | 13 ------------- 3 files changed, 25 insertions(+), 36 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 088ce9fe..e81cd7ec 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -1,28 +1,17 @@ from __future__ import annotations +from importlib import metadata from urllib.request import urlopen -_conf_url = \ - "https://raw.githubusercontent.com/inducer/sphinxconfig/main/sphinxconfig.py" +_conf_url = "https://raw.githubusercontent.com/inducer/sphinxconfig/main/sphinxconfig.py" with urlopen(_conf_url) as _inf: exec(compile(_inf.read(), _conf_url, "exec"), globals()) copyright = "2009-21, Andreas Kloeckner" author = "Andreas Kloeckner" - -# The version info for the project you're documenting, acts as replacement for -# |version| and |release|, also used in various other places throughout the -# built documents. -# -# The short X.Y version. -ver_dic = {} -with open("../pytools/version.py") as vfile: - exec(compile(vfile.read(), "../pytools/version.py", "exec"), - ver_dic) - -version = ".".join(str(x) for x in ver_dic["VERSION"]) -release = ver_dic["VERSION_TEXT"] +release = metadata.version("pytools") +version = ".".join(release.split(".")[:2]) # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. @@ -32,21 +21,30 @@ intersphinx_mapping = { "loopy": ("https://documen.tician.de/loopy", None), "numpy": ("https://numpy.org/doc/stable", None), + "platformdirs": ("https://platformdirs.readthedocs.io/en/latest", None), "pymbolic": ("https://documen.tician.de/pymbolic", None), "pytest": ("https://docs.pytest.org/en/stable", None), - "setuptools": ("https://setuptools.pypa.io/en/latest", None), "python": ("https://docs.python.org/3", None), - "platformdirs": ("https://platformdirs.readthedocs.io/en/latest", None), + "setuptools": ("https://setuptools.pypa.io/en/latest", None), } nitpicky = True -nitpick_ignore_regex = [ - ["py:class", r"typing_extensions\.(.+)"], - ["py:class", r"ReadableBuffer"], - ["py:class", r"ObjectArray1D"], -] - autodoc_type_aliases = { "GraphT": "pytools.graph.GraphT", "NodeT": "pytools.graph.NodeT", } + +sphinxconfig_missing_reference_aliases = { + # numpy typing + "NDArray": "obj:numpy.typing.NDArray", + "np.dtype": "class:numpy.dtype", + "np.ndarray": "class:numpy.ndarray", + "np.floating": "class:numpy.floating", + # pytools typing + "ObjectArray1D": "obj:pytools.obj_array.ObjectArray1D", + "ReadableBuffer": "data:pytools.ReadableBuffer", +} + + +def setup(app): + app.connect("missing-reference", process_autodoc_missing_reference) # noqa: F821 diff --git a/pytools/__init__.py b/pytools/__init__.py index 89b07705..c5f7f0f0 100644 --- a/pytools/__init__.py +++ b/pytools/__init__.py @@ -256,6 +256,10 @@ Generic unbound invariant :class:`typing.ParamSpec`. .. class:: _HashT + +.. class:: ReadableBuffer + + Anything that implements the read-write buffer interface. """ # {{{ type variables diff --git a/pytools/obj_array.py b/pytools/obj_array.py index d6555144..c8b48e5f 100644 --- a/pytools/obj_array.py +++ b/pytools/obj_array.py @@ -40,19 +40,6 @@ .. autofunction:: obj_array_imag .. autofunction:: obj_array_real_copy .. autofunction:: obj_array_imag_copy - -References ----------- - -.. currentmodule:: np - -.. class:: ndarray - - See :class:`numpy.ndarray`. - -.. class:: dtype - - See :class:`numpy.dtype`. """ From 90bcc86b72cecdaa8f2e22f34c476fd3e57977a7 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Fri, 1 Aug 2025 20:18:10 +0300 Subject: [PATCH 8/9] chore: remove all mypy type ignores --- pyproject.toml | 2 +- pytools/__init__.py | 11 ++++++----- pytools/mpiwrap.py | 2 +- pytools/persistent_dict.py | 6 +++--- pytools/prefork.py | 4 ++-- pytools/test/test_dataclasses.py | 8 ++++---- pytools/test/test_persistent_dict.py | 12 ++++++------ pytools/test/test_pytools.py | 8 ++++---- 8 files changed, 27 insertions(+), 26 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 68d9854f..efd24729 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ numpy = [ "numpy>=1.6", ] test = [ - "mypy", + "basedpyright", "pytest", "ruff", ] diff --git a/pytools/__init__.py b/pytools/__init__.py index c5f7f0f0..3f5c1556 100644 --- a/pytools/__init__.py +++ b/pytools/__init__.py @@ -767,7 +767,7 @@ def wrapper(*args): return wrapper if not args: - return _decorator # type: ignore[return-value] + return _decorator if callable(args[0]) and len(args) == 1: return _decorator(args[0]) raise TypeError( @@ -819,9 +819,10 @@ def clear_cache(obj): from functools import update_wrapper new_wrapper = update_wrapper(wrapper, function) - # type-ignore because mypy has a point here, stuffing random attributes - # into the function's dict is moderately sketchy. - new_wrapper.clear_cache = clear_cache # type: ignore[attr-defined] + # FIXME: pyright has a point here, stuffing random attributes into the + # function's dict is moderately sketchy. See what `functools.cache` is doing + # about it. + new_wrapper.clear_cache = clear_cache return new_wrapper @@ -894,7 +895,7 @@ def clear_cache(obj): from functools import update_wrapper new_wrapper = update_wrapper(wrapper, function) - new_wrapper.clear_cache = clear_cache # type: ignore[attr-defined] + new_wrapper.clear_cache = clear_cache return new_wrapper diff --git a/pytools/mpiwrap.py b/pytools/mpiwrap.py index f8334ed5..a7c626c6 100644 --- a/pytools/mpiwrap.py +++ b/pytools/mpiwrap.py @@ -14,7 +14,7 @@ pytools.prefork.enable_prefork() -if Is_initialized(): # type: ignore[name-defined] # noqa: F405 +if Is_initialized(): # noqa: F405 raise RuntimeError("MPI already initialized before MPI wrapper import") diff --git a/pytools/persistent_dict.py b/pytools/persistent_dict.py index de0b5fe4..aad472d0 100644 --- a/pytools/persistent_dict.py +++ b/pytools/persistent_dict.py @@ -604,19 +604,19 @@ def __iter__(self) -> Iterator[K]: return self.keys() @override - def keys(self) -> Iterator[K]: # type: ignore[override] + def keys(self) -> Iterator[K]: """Return an iterator over the keys in the dictionary.""" for row in self._exec_sql("SELECT key_value FROM dict ORDER BY rowid"): yield pickle.loads(row[0])[0] @override - def values(self) -> Iterator[V]: # type: ignore[override] + def values(self) -> Iterator[V]: """Return an iterator over the values in the dictionary.""" for row in self._exec_sql("SELECT key_value FROM dict ORDER BY rowid"): yield pickle.loads(row[0])[1] @override - def items(self) -> Iterator[tuple[K, V]]: # type: ignore[override] + def items(self) -> Iterator[tuple[K, V]]: """Return an iterator over the items in the dictionary.""" for row in self._exec_sql("SELECT key_value FROM dict ORDER BY rowid"): yield pickle.loads(row[0]) diff --git a/pytools/prefork.py b/pytools/prefork.py index 574d8ef7..9d284075 100644 --- a/pytools/prefork.py +++ b/pytools/prefork.py @@ -192,7 +192,7 @@ def _fork_server(sock: socket.socket) -> None: _send_packet(sock, ("ok", None)) break try: - result = funcs[func_name](*args, **kwargs) # type: ignore[operator] + result = funcs[func_name](*args, **kwargs) # FIXME: Is catching all exceptions the right course of action? except Exception as e: # pylint:disable=broad-except _send_packet(sock, ("exception", e)) @@ -252,7 +252,7 @@ def call_capture_output(self, cwd: str | None = None, error_on_nonzero: bool = True, ) -> tuple[int, bytes, bytes]: - return self._remote_invoke("call_capture_output", cmdline, cwd, # type: ignore[return-value] + return self._remote_invoke("call_capture_output", cmdline, cwd, error_on_nonzero) @override diff --git a/pytools/test/test_dataclasses.py b/pytools/test/test_dataclasses.py index c8078e78..c8163845 100644 --- a/pytools/test/test_dataclasses.py +++ b/pytools/test/test_dataclasses.py @@ -49,17 +49,17 @@ class A: # Needs to be frozen by default if __debug__: with pytest.raises(AttributeError): - a.x = 2 # type: ignore[misc] + a.x = 2 else: - a.x = 2 # type: ignore[misc] + a.x = 2 - assert a.__dataclass_params__.frozen is __debug__ # type: ignore[attr-defined] # pylint: disable=no-member + assert a.__dataclass_params__.frozen is __debug__ # pylint: disable=no-member # }}} with pytest.raises(TypeError): # Can't specify frozen parameter - @opt_frozen_dataclass(frozen=False) # type: ignore[call-arg] # pylint: disable=unexpected-keyword-arg + @opt_frozen_dataclass(frozen=False) # pylint: disable=unexpected-keyword-arg class B: x: int diff --git a/pytools/test/test_persistent_dict.py b/pytools/test/test_persistent_dict.py index 2cdd2a7c..7e45a4b7 100644 --- a/pytools/test/test_persistent_dict.py +++ b/pytools/test/test_persistent_dict.py @@ -589,17 +589,17 @@ class MyAttrs: name: str value: int - assert (keyb(MyAttrs("hi", 1)) == "5b6c5da60eb2bd0f") # type: ignore[call-arg] + assert (keyb(MyAttrs("hi", 1)) == "5b6c5da60eb2bd0f") - assert keyb(MyAttrs("hi", 1)) == keyb(MyAttrs("hi", 1)) # type: ignore[call-arg] - assert keyb(MyAttrs("hi", 1)) != keyb(MyAttrs("hi", 2)) # type: ignore[call-arg] + assert keyb(MyAttrs("hi", 1)) == keyb(MyAttrs("hi", 1)) + assert keyb(MyAttrs("hi", 1)) != keyb(MyAttrs("hi", 2)) @dataclass class MyDC: name: str value: int - assert keyb(MyDC("hi", 1)) != keyb(MyAttrs("hi", 1)) # type: ignore[call-arg] + assert keyb(MyDC("hi", 1)) != keyb(MyAttrs("hi", 1)) @attrs.define class MyAttrs2: @@ -607,8 +607,8 @@ class MyAttrs2: value: int # Class types must be encoded in hash - assert (keyb(MyAttrs2("hi", 1)) # type: ignore[call-arg] - != keyb(MyAttrs("hi", 1))) # type: ignore[call-arg] + assert (keyb(MyAttrs2("hi", 1)) + != keyb(MyAttrs("hi", 1))) def test_datetime_hashing() -> None: diff --git a/pytools/test/test_pytools.py b/pytools/test/test_pytools.py index 45bb3ea9..4cefc7a1 100644 --- a/pytools/test/test_pytools.py +++ b/pytools/test/test_pytools.py @@ -198,7 +198,7 @@ def double_value(self): c0 = FrozenDataclass(10) assert c0.double_value() == 20 - c0.double_value.clear_cache(c0) # type: ignore[attr-defined] + c0.double_value.clear_cache(c0) # }}} @@ -220,7 +220,7 @@ def double_value(self): c1 = FrozenClass(10) assert c1.double_value() == 20 - c1.double_value.clear_cache(c1) # type: ignore[attr-defined] + c1.double_value.clear_cache(c1) # }}} @@ -559,7 +559,7 @@ class BestInClassRibbon(FairRibbon, UniqueTag): # a subclass of Tag with pytest.raises(TypeError): check_tag_uniqueness(frozenset(( - "I am not a tag", best_in_show_ribbon, # type: ignore[arg-type] + "I am not a tag", best_in_show_ribbon, blue_ribbon, red_ribbon))) # Test that instantiation succeeds if there are multiple instances @@ -590,7 +590,7 @@ class BestInClassRibbon(FairRibbon, UniqueTag): # Test that tagged() fails if tags are not a FrozenSet of Tags with pytest.raises(TypeError): - t1.tagged(tags=frozenset((1,))) # type: ignore[arg-type] + t1.tagged(tags=frozenset((1,))) # Test without_tags() function t4 = t2.without_tags(red_ribbon) From e8317ff36ebc91bd17b9ebbe9285b8a9cb9780d5 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Fri, 1 Aug 2025 20:29:31 +0300 Subject: [PATCH 9/9] chore: update baseline --- .basedpyright/baseline.json | 3758 +++++++++-------------------------- 1 file changed, 903 insertions(+), 2855 deletions(-) diff --git a/.basedpyright/baseline.json b/.basedpyright/baseline.json index 14af9879..8a6b9866 100644 --- a/.basedpyright/baseline.json +++ b/.basedpyright/baseline.json @@ -59,78 +59,6 @@ } ], "./pytools/__init__.py": [ - { - "code": "reportInvalidTypeVarUse", - "range": { - "startColumn": 26, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 14, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 8, - "endColumn": 16, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 24, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 24, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 32, - "endColumn": 38, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 32, - "endColumn": 38, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 15, - "endColumn": 38, - "lineCount": 1 - } - }, { "code": "reportUnknownParameterType", "range": { @@ -2908,450 +2836,490 @@ } }, { - "code": "reportUnknownParameterType", + "code": "reportAny", "range": { - "startColumn": 4, - "endColumn": 17, + "startColumn": 11, + "endColumn": 35, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportAny", "range": { - "startColumn": 18, - "endColumn": 26, + "startColumn": 4, + "endColumn": 11, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 18, - "endColumn": 26, + "startColumn": 12, + "endColumn": 24, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportMissingParameterType", "range": { - "startColumn": 28, - "endColumn": 33, + "startColumn": 12, + "endColumn": 24, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportAny", "range": { - "startColumn": 28, - "endColumn": 33, + "startColumn": 11, + "endColumn": 43, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 4, - "endColumn": 6, + "startColumn": 23, + "endColumn": 35, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 14, - "endColumn": 22, + "startColumn": 37, + "endColumn": 42, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 8, - "endColumn": 11, + "startColumn": 19, + "endColumn": 28, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportMissingParameterType", "range": { "startColumn": 19, - "endColumn": 21, + "endColumn": 28, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportMissingParameterType", "range": { - "startColumn": 15, - "endColumn": 20, + "startColumn": 30, + "endColumn": 34, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportMissingParameterType", "range": { - "startColumn": 8, - "endColumn": 9, + "startColumn": 41, + "endColumn": 54, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportMissingParameterType", "range": { - "startColumn": 15, - "endColumn": 20, + "startColumn": 58, + "endColumn": 68, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 34, - "endColumn": 37, + "startColumn": 4, + "endColumn": 11, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 16, - "endColumn": 19, + "startColumn": 12, + "endColumn": 20, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportMissingParameterType", "range": { - "startColumn": 27, - "endColumn": 30, + "startColumn": 12, + "endColumn": 20, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportMissingParameterType", "range": { - "startColumn": 11, - "endColumn": 14, + "startColumn": 22, + "endColumn": 34, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { "startColumn": 4, - "endColumn": 12, + "endColumn": 6, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 13, - "endColumn": 21, + "startColumn": 14, + "endColumn": 22, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 13, - "endColumn": 21, + "startColumn": 8, + "endColumn": 22, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 23, - "endColumn": 31, + "startColumn": 24, + "endColumn": 35, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 23, - "endColumn": 31, + "startColumn": 43, + "endColumn": 45, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 11, - "endColumn": 47, + "startColumn": 8, + "endColumn": 11, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 33, - "endColumn": 34, + "startColumn": 13, + "endColumn": 17, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 4, - "endColumn": 13, + "startColumn": 12, + "endColumn": 26, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 14, + "startColumn": 12, "endColumn": 23, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 14, - "endColumn": 23, + "startColumn": 15, + "endColumn": 42, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 25, - "endColumn": 33, + "startColumn": 11, + "endColumn": 25, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 25, - "endColumn": 33, + "startColumn": 4, + "endColumn": 11, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 8, - "endColumn": 9, + "startColumn": 12, + "endColumn": 20, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportMissingParameterType", "range": { "startColumn": 12, - "endColumn": 28, + "endColumn": 20, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportMissingParameterType", "range": { - "startColumn": 29, - "endColumn": 30, + "startColumn": 22, + "endColumn": 34, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 12, - "endColumn": 29, + "startColumn": 4, + "endColumn": 6, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 30, - "endColumn": 31, + "startColumn": 14, + "endColumn": 22, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 11, - "endColumn": 32, + "startColumn": 8, + "endColumn": 22, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 4, - "endColumn": 14, + "startColumn": 24, + "endColumn": 35, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 15, - "endColumn": 23, + "startColumn": 43, + "endColumn": 45, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 15, - "endColumn": 23, + "startColumn": 8, + "endColumn": 11, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 8, - "endColumn": 12, + "startColumn": 13, + "endColumn": 17, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 14, - "endColumn": 15, + "startColumn": 12, + "endColumn": 26, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownVariableType", "range": { "startColumn": 12, - "endColumn": 28, + "endColumn": 23, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 29, - "endColumn": 30, + "startColumn": 15, + "endColumn": 42, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 12, - "endColumn": 29, + "startColumn": 11, + "endColumn": 25, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 30, - "endColumn": 31, + "startColumn": 4, + "endColumn": 10, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownParameterType", "range": { "startColumn": 11, - "endColumn": 32, + "endColumn": 19, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportMissingParameterType", "range": { "startColumn": 11, - "endColumn": 35, + "endColumn": 19, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", + "range": { + "startColumn": 11, + "endColumn": 39, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 29, + "endColumn": 37, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", "range": { "startColumn": 4, - "endColumn": 11, + "endColumn": 10, "lineCount": 1 } }, { "code": "reportUnknownParameterType", "range": { - "startColumn": 12, - "endColumn": 24, + "startColumn": 11, + "endColumn": 19, "lineCount": 1 } }, { "code": "reportMissingParameterType", "range": { - "startColumn": 12, - "endColumn": 24, + "startColumn": 11, + "endColumn": 19, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { "startColumn": 11, - "endColumn": 43, + "endColumn": 39, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 23, - "endColumn": 35, + "startColumn": 29, + "endColumn": 37, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 37, - "endColumn": 42, + "startColumn": 4, + "endColumn": 21, "lineCount": 1 } }, { "code": "reportUnknownParameterType", "range": { - "startColumn": 19, - "endColumn": 28, + "startColumn": 23, + "endColumn": 27, "lineCount": 1 } }, { "code": "reportMissingParameterType", "range": { - "startColumn": 19, - "endColumn": 28, + "startColumn": 23, + "endColumn": 27, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 30, - "endColumn": 34, + "startColumn": 11, + "endColumn": 15, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 41, - "endColumn": 54, + "startColumn": 12, + "endColumn": 15, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 58, - "endColumn": 68, + "startColumn": 4, + "endColumn": 9, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 8, + "endColumn": 12, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 35, + "endColumn": 40, + "lineCount": 1 + } + }, + { + "code": "reportUnknownVariableType", + "range": { + "startColumn": 12, + "endColumn": 13, "lineCount": 1 } }, @@ -3359,119 +3327,127 @@ "code": "reportUnknownParameterType", "range": { "startColumn": 4, - "endColumn": 11, + "endColumn": 18, "lineCount": 1 } }, { "code": "reportUnknownParameterType", "range": { - "startColumn": 12, - "endColumn": 20, + "startColumn": 19, + "endColumn": 24, "lineCount": 1 } }, { "code": "reportMissingParameterType", "range": { - "startColumn": 12, - "endColumn": 20, + "startColumn": 19, + "endColumn": 24, + "lineCount": 1 + } + }, + { + "code": "reportUnknownParameterType", + "range": { + "startColumn": 26, + "endColumn": 31, "lineCount": 1 } }, { "code": "reportMissingParameterType", "range": { - "startColumn": 22, - "endColumn": 34, + "startColumn": 26, + "endColumn": 31, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 4, - "endColumn": 6, + "startColumn": 11, + "endColumn": 13, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 14, - "endColumn": 22, + "startColumn": 27, + "endColumn": 32, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 8, - "endColumn": 22, + "startColumn": 15, + "endColumn": 17, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 24, - "endColumn": 35, + "startColumn": 31, + "endColumn": 36, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 43, - "endColumn": 45, + "startColumn": 4, + "endColumn": 25, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 8, - "endColumn": 11, + "startColumn": 26, + "endColumn": 31, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportMissingParameterType", "range": { - "startColumn": 13, - "endColumn": 17, + "startColumn": 26, + "endColumn": 31, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 12, - "endColumn": 26, + "startColumn": 33, + "endColumn": 38, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportMissingParameterType", "range": { - "startColumn": 12, - "endColumn": 23, + "startColumn": 33, + "endColumn": 38, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 15, - "endColumn": 42, + "startColumn": 8, + "endColumn": 9, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 11, - "endColumn": 25, + "startColumn": 12, + "endColumn": 13, "lineCount": 1 } }, @@ -3499,14 +3475,6 @@ "lineCount": 1 } }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 22, - "endColumn": 34, - "lineCount": 1 - } - }, { "code": "reportUnknownVariableType", "range": { @@ -3516,10 +3484,10 @@ } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 14, - "endColumn": 22, + "startColumn": 9, + "endColumn": 26, "lineCount": 1 } }, @@ -3527,23 +3495,23 @@ "code": "reportUnknownVariableType", "range": { "startColumn": 8, - "endColumn": 22, + "endColumn": 9, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 24, - "endColumn": 35, + "startColumn": 17, + "endColumn": 19, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 43, - "endColumn": 45, + "startColumn": 8, + "endColumn": 13, "lineCount": 1 } }, @@ -3551,39 +3519,7 @@ "code": "reportUnknownVariableType", "range": { "startColumn": 8, - "endColumn": 11, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 13, - "endColumn": 17, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 12, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 12, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 15, - "endColumn": 42, + "endColumn": 9, "lineCount": 1 } }, @@ -3591,159 +3527,167 @@ "code": "reportUnknownVariableType", "range": { "startColumn": 11, - "endColumn": 25, + "endColumn": 18, "lineCount": 1 } }, { "code": "reportUnknownParameterType", "range": { - "startColumn": 4, - "endColumn": 10, + "startColumn": 23, + "endColumn": 33, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportMissingParameterType", "range": { - "startColumn": 11, - "endColumn": 19, + "startColumn": 23, + "endColumn": 33, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnannotatedClassAttribute", "range": { - "startColumn": 11, - "endColumn": 19, + "startColumn": 13, + "endColumn": 14, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnannotatedClassAttribute", "range": { - "startColumn": 11, - "endColumn": 39, + "startColumn": 13, + "endColumn": 17, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnannotatedClassAttribute", "range": { - "startColumn": 29, - "endColumn": 37, + "startColumn": 13, + "endColumn": 15, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnannotatedClassAttribute", "range": { - "startColumn": 4, - "endColumn": 10, + "startColumn": 13, + "endColumn": 23, "lineCount": 1 } }, { "code": "reportUnknownParameterType", "range": { - "startColumn": 11, - "endColumn": 19, + "startColumn": 19, + "endColumn": 20, "lineCount": 1 } }, { "code": "reportMissingParameterType", "range": { - "startColumn": 11, - "endColumn": 19, + "startColumn": 19, + "endColumn": 20, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 11, - "endColumn": 39, + "startColumn": 8, + "endColumn": 14, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 29, - "endColumn": 37, + "startColumn": 21, + "endColumn": 30, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 4, - "endColumn": 21, + "startColumn": 8, + "endColumn": 17, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 23, - "endColumn": 27, + "startColumn": 8, + "endColumn": 17, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 23, - "endColumn": 27, + "startColumn": 8, + "endColumn": 15, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 11, + "startColumn": 8, "endColumn": 15, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 12, - "endColumn": 15, + "startColumn": 31, + "endColumn": 40, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 4, - "endColumn": 9, + "startColumn": 8, + "endColumn": 16, + "lineCount": 1 + } + }, + { + "code": "reportUnknownMemberType", + "range": { + "startColumn": 19, + "endColumn": 26, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 8, - "endColumn": 12, + "startColumn": 19, + "endColumn": 33, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 35, - "endColumn": 40, + "startColumn": 15, + "endColumn": 22, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 12, - "endColumn": 13, + "startColumn": 15, + "endColumn": 35, "lineCount": 1 } }, @@ -3751,102 +3695,102 @@ "code": "reportUnknownParameterType", "range": { "startColumn": 4, - "endColumn": 18, + "endColumn": 12, "lineCount": 1 } }, { "code": "reportUnknownParameterType", "range": { - "startColumn": 19, - "endColumn": 24, + "startColumn": 13, + "endColumn": 21, "lineCount": 1 } }, { "code": "reportMissingParameterType", "range": { - "startColumn": 19, - "endColumn": 24, + "startColumn": 13, + "endColumn": 21, "lineCount": 1 } }, { "code": "reportUnknownParameterType", "range": { - "startColumn": 26, - "endColumn": 31, + "startColumn": 23, + "endColumn": 33, "lineCount": 1 } }, { "code": "reportMissingParameterType", "range": { - "startColumn": 26, - "endColumn": 31, + "startColumn": 23, + "endColumn": 33, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 11, - "endColumn": 13, + "startColumn": 32, + "endColumn": 42, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 27, - "endColumn": 32, + "startColumn": 8, + "endColumn": 9, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 15, - "endColumn": 17, + "startColumn": 8, + "endColumn": 19, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 31, - "endColumn": 36, + "startColumn": 20, + "endColumn": 21, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 4, - "endColumn": 25, + "startColumn": 11, + "endColumn": 28, "lineCount": 1 } }, { "code": "reportUnknownParameterType", "range": { - "startColumn": 26, - "endColumn": 31, + "startColumn": 18, + "endColumn": 26, "lineCount": 1 } }, { "code": "reportMissingParameterType", "range": { - "startColumn": 26, - "endColumn": 31, + "startColumn": 18, + "endColumn": 26, "lineCount": 1 } }, { "code": "reportUnknownParameterType", "range": { - "startColumn": 33, + "startColumn": 28, "endColumn": 38, "lineCount": 1 } @@ -3854,24 +3798,32 @@ { "code": "reportMissingParameterType", "range": { - "startColumn": 33, + "startColumn": 28, "endColumn": 38, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportArgumentType", "range": { - "startColumn": 8, - "endColumn": 9, + "startColumn": 16, + "endColumn": 46, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 12, - "endColumn": 13, + "startColumn": 25, + "endColumn": 33, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 35, + "endColumn": 45, "lineCount": 1 } }, @@ -3879,39 +3831,39 @@ "code": "reportUnknownParameterType", "range": { "startColumn": 4, - "endColumn": 11, + "endColumn": 20, "lineCount": 1 } }, { "code": "reportUnknownParameterType", "range": { - "startColumn": 12, - "endColumn": 20, + "startColumn": 21, + "endColumn": 26, "lineCount": 1 } }, { "code": "reportMissingParameterType", "range": { - "startColumn": 12, - "endColumn": 20, + "startColumn": 21, + "endColumn": 26, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 4, - "endColumn": 6, + "startColumn": 13, + "endColumn": 18, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 9, - "endColumn": 26, + "startColumn": 23, + "endColumn": 31, "lineCount": 1 } }, @@ -3919,1767 +3871,55 @@ "code": "reportUnknownVariableType", "range": { "startColumn": 8, - "endColumn": 9, + "endColumn": 17, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 17, - "endColumn": 19, + "startColumn": 23, + "endColumn": 31, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 8, - "endColumn": 13, + "startColumn": 16, + "endColumn": 20, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 8, - "endColumn": 9, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 11, - "endColumn": 18, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 23, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 23, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 14, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 17, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 19, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 19, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 14, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 21, - "endColumn": 30, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 8, - "endColumn": 17, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 8, - "endColumn": 17, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 8, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 8, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 31, - "endColumn": 40, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 16, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 19, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 19, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 15, - "endColumn": 22, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 15, - "endColumn": 35, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 4, - "endColumn": 12, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 13, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 13, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 23, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 23, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 32, - "endColumn": 42, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 9, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 8, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 20, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 11, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 18, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 18, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 28, - "endColumn": 38, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 28, - "endColumn": 38, - "lineCount": 1 - } - }, - { - "code": "reportArgumentType", - "range": { - "startColumn": 16, - "endColumn": 46, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 25, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 35, - "endColumn": 45, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 4, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 21, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 21, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 13, - "endColumn": 18, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 17, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 16, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 16, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 41, - "endColumn": 50, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 13, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 12, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 4, - "endColumn": 30, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 31, - "endColumn": 41, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 31, - "endColumn": 41, - "lineCount": 1 - } - }, - { - "code": "reportIndexIssue", - "range": { - "startColumn": 11, - "endColumn": 72, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 11, - "endColumn": 76, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 18, - "endColumn": 39, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 41, - "endColumn": 71, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 35, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 42, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 33, - "endColumn": 37, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 33, - "endColumn": 37, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 20, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 32, - "endColumn": 35, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 21, - "endColumn": 44, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 21, - "endColumn": 44, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 47, - "endColumn": 57, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 47, - "endColumn": 57, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 47, - "endColumn": 57, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 47, - "endColumn": 57, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 47, - "endColumn": 57, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 47, - "endColumn": 57, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 47, - "endColumn": 57, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 47, - "endColumn": 57, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 12, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 16, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 25, - "endColumn": 30, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 21, - "endColumn": 44, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 22, - "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": 29, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 26, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 19, - "endColumn": 22, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 15, - "endColumn": 13, - "lineCount": 3 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 12, - "endColumn": 73, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 25, - "endColumn": 30, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 44, - "endColumn": 47, - "lineCount": 1 - } - }, - { - "code": "reportPrivateUsage", - "range": { - "startColumn": 30, - "endColumn": 45, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 12, - "endColumn": 22, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 29, - "endColumn": 32, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 8, - "endColumn": 16, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 8, - "endColumn": 16, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 18, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 18, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 34, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 34, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 8, - "endColumn": 17, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 22, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 32, - "endColumn": 42, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 32, - "endColumn": 42, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 49, - "endColumn": 60, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 12, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 28, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 12, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 28, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 12, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 28, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 17, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 18, - "lineCount": 1 - } - }, - { - "code": "reportUnusedVariable", - "range": { - "startColumn": 18, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 33, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 13, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 28, - "endColumn": 38, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 40, - "endColumn": 45, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 22, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 37, - "endColumn": 47, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 12, - "endColumn": 22, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 23, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 23, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 12, - "endColumn": 18, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 12, - "endColumn": 16, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 25, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 12, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 27, - "endColumn": 42, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 23, - "endColumn": 65, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 46, - "endColumn": 64, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 19, - "endColumn": 35, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 12, - "endColumn": 22, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 23, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 23, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 19, - "endColumn": 48, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 24, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 8, - "endColumn": 17, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 8, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 12, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 40, - "endColumn": 50, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 14, - "endColumn": 18, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 14, - "endColumn": 18, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 20, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 20, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 27, - "endColumn": 37, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 8, - "endColumn": 23, - "lineCount": 4 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 8, - "endColumn": 18, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 8, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportUninitializedInstanceVariable", - "range": { - "startColumn": 13, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 23, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 23, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 33, - "endColumn": 40, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 33, - "endColumn": 40, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 42, - "endColumn": 48, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 42, - "endColumn": 48, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 13, - "endColumn": 16, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 13, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportMissingTypeArgument", - "range": { - "startColumn": 45, - "endColumn": 53, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 12, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 37, - "endColumn": 40, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 15, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 20, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 16, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 16, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 28, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 24, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 24, - "endColumn": 27, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 53, - "endColumn": 56, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 20, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 12, - "endColumn": 15, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 31, - "endColumn": 32, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 28, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 31, - "endColumn": 32, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 19, - "endColumn": 22, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 32, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 28, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 18, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 18, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 21, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 42, - "endColumn": 47, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 23, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 18, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 17, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 19, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 29, - "endColumn": 55, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 16, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 37, - "endColumn": 63, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 15, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 24, - "endColumn": 75, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 31, - "endColumn": 74, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 56, - "endColumn": 74, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 23, - "endColumn": 31, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 38, - "endColumn": 45, - "lineCount": 1 - } - }, - { - "code": "reportAny", - "range": { - "startColumn": 52, - "endColumn": 58, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 22, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 22, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 17, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 39, - "endColumn": 47, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 39, - "endColumn": 47, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 49, - "endColumn": 57, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 4, - "endColumn": 16, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 17, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 17, - "endColumn": 23, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 25, - "endColumn": 32, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 25, - "endColumn": 32, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 10, - "lineCount": 1 - } - }, - { - "code": "reportUnknownArgumentType", - "range": { - "startColumn": 18, - "endColumn": 24, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 15, - "endColumn": 62, + "startColumn": 16, + "endColumn": 20, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 31, - "endColumn": 40, + "startColumn": 41, + "endColumn": 50, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 46, - "endColumn": 51, + "startColumn": 4, + "endColumn": 13, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 15, - "endColumn": 22, + "startColumn": 12, + "endColumn": 25, "lineCount": 1 } }, @@ -5687,47 +3927,31 @@ "code": "reportUnknownParameterType", "range": { "startColumn": 4, - "endColumn": 22, + "endColumn": 30, "lineCount": 1 } }, { "code": "reportUnknownParameterType", "range": { - "startColumn": 23, - "endColumn": 28, + "startColumn": 31, + "endColumn": 41, "lineCount": 1 } }, { "code": "reportMissingParameterType", "range": { - "startColumn": 23, - "endColumn": 28, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 11, - "endColumn": 40, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 11, - "endColumn": 46, + "startColumn": 31, + "endColumn": 41, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportIndexIssue", "range": { "startColumn": 11, - "endColumn": 51, + "endColumn": 72, "lineCount": 1 } }, @@ -5735,111 +3959,23 @@ "code": "reportUnknownVariableType", "range": { "startColumn": 11, - "endColumn": 51, + "endColumn": 76, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 29, - "endColumn": 34, - "lineCount": 1 - } - }, - { - "code": "reportAttributeAccessIssue", - "range": { - "startColumn": 36, - "endColumn": 40, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 20, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 20, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 27, - "endColumn": 41, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 27, - "endColumn": 41, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 20, - "lineCount": 1 - } - }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 23, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 4, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnknownParameterType", - "range": { - "startColumn": 26, - "endColumn": 32, - "lineCount": 1 - } - }, - { - "code": "reportMissingParameterType", - "range": { - "startColumn": 26, - "endColumn": 32, + "startColumn": 18, + "endColumn": 39, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 8, - "endColumn": 29, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 27, + "startColumn": 41, + "endColumn": 71, "lineCount": 1 } }, @@ -5847,182 +3983,150 @@ "code": "reportUnannotatedClassAttribute", "range": { "startColumn": 13, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportUnusedParameter", - "range": { - "startColumn": 26, - "endColumn": 30, + "endColumn": 23, "lineCount": 1 } }, { - "code": "reportArgumentType", + "code": "reportAny", "range": { - "startColumn": 8, - "endColumn": 40, + "startColumn": 35, + "endColumn": 36, "lineCount": 1 } }, { - "code": "reportPossiblyUnboundVariable", + "code": "reportAny", "range": { - "startColumn": 26, - "endColumn": 34, + "startColumn": 42, + "endColumn": 43, "lineCount": 1 } }, { "code": "reportUnknownParameterType", "range": { - "startColumn": 23, - "endColumn": 36, + "startColumn": 33, + "endColumn": 37, "lineCount": 1 } }, { "code": "reportMissingParameterType", "range": { - "startColumn": 23, - "endColumn": 36, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 26, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 33, - "lineCount": 1 - } - }, - { - "code": "reportUninitializedInstanceVariable", - "range": { - "startColumn": 13, - "endColumn": 33, + "startColumn": 33, + "endColumn": 37, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 51, - "endColumn": 69, + "startColumn": 20, + "endColumn": 26, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 23, - "endColumn": 31, + "startColumn": 32, + "endColumn": 35, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 23, - "endColumn": 31, + "startColumn": 21, + "endColumn": 44, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 33, - "endColumn": 40, + "startColumn": 21, + "endColumn": 44, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportAny", "range": { - "startColumn": 33, - "endColumn": 40, + "startColumn": 47, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportAny", "range": { - "startColumn": 42, - "endColumn": 48, + "startColumn": 47, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportAny", "range": { - "startColumn": 42, - "endColumn": 48, + "startColumn": 47, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportAny", "range": { - "startColumn": 37, - "endColumn": 40, + "startColumn": 47, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportAny", "range": { - "startColumn": 37, - "endColumn": 40, + "startColumn": 47, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportAny", "range": { - "startColumn": 42, - "endColumn": 52, + "startColumn": 47, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportAny", "range": { - "startColumn": 42, - "endColumn": 52, + "startColumn": 47, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportAny", "range": { - "startColumn": 8, - "endColumn": 18, + "startColumn": 47, + "endColumn": 57, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 30, - "endColumn": 33, + "startColumn": 12, + "endColumn": 24, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 18, + "startColumn": 16, "endColumn": 28, "lineCount": 1 } @@ -6030,336 +4134,344 @@ { "code": "reportUnknownArgumentType", "range": { - "startColumn": 22, - "endColumn": 25, + "startColumn": 25, + "endColumn": 30, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { - "startColumn": 29, - "endColumn": 32, + "startColumn": 21, + "endColumn": 44, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownParameterType", "range": { - "startColumn": 12, - "endColumn": 20, + "startColumn": 8, + "endColumn": 22, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownParameterType", "range": { "startColumn": 23, - "endColumn": 31, + "endColumn": 24, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportMissingParameterType", "range": { - "startColumn": 22, - "endColumn": 32, + "startColumn": 23, + "endColumn": 24, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownParameterType", "range": { - "startColumn": 27, - "endColumn": 35, + "startColumn": 26, + "endColumn": 29, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportMissingParameterType", "range": { - "startColumn": 22, - "endColumn": 31, + "startColumn": 26, + "endColumn": 29, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 22, - "endColumn": 31, + "startColumn": 19, + "endColumn": 22, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 4, + "startColumn": 15, "endColumn": 13, - "lineCount": 1 + "lineCount": 3 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 24, - "endColumn": 33, + "startColumn": 12, + "endColumn": 73, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 23, - "endColumn": 32, + "startColumn": 25, + "endColumn": 30, "lineCount": 1 } }, { "code": "reportUnknownArgumentType", "range": { - "startColumn": 18, - "endColumn": 27, + "startColumn": 44, + "endColumn": 47, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportPrivateUsage", "range": { - "startColumn": 33, - "endColumn": 36, + "startColumn": 30, + "endColumn": 45, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 29, - "endColumn": 40, + "startColumn": 12, + "endColumn": 22, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 29, - "endColumn": 40, + "startColumn": 23, + "endColumn": 33, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 42, - "endColumn": 53, + "startColumn": 29, + "endColumn": 32, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 42, - "endColumn": 53, + "startColumn": 8, + "endColumn": 16, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportMissingParameterType", "range": { - "startColumn": 4, - "endColumn": 13, + "startColumn": 8, + "endColumn": 16, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 22, - "endColumn": 66, + "startColumn": 18, + "endColumn": 27, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportMissingParameterType", "range": { - "startColumn": 22, - "endColumn": 66, + "startColumn": 18, + "endColumn": 27, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 32, + "startColumn": 34, "endColumn": 43, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportMissingParameterType", "range": { - "startColumn": 29, - "endColumn": 38, + "startColumn": 34, + "endColumn": 43, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportMissingParameterType", "range": { - "startColumn": 4, + "startColumn": 8, "endColumn": 17, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportMissingParameterType", "range": { - "startColumn": 18, - "endColumn": 19, + "startColumn": 22, + "endColumn": 27, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 18, - "endColumn": 19, + "startColumn": 32, + "endColumn": 42, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportMissingParameterType", "range": { - "startColumn": 21, - "endColumn": 29, + "startColumn": 32, + "endColumn": 42, "lineCount": 1 } }, { "code": "reportMissingParameterType", "range": { - "startColumn": 21, - "endColumn": 29, + "startColumn": 49, + "endColumn": 60, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 4, - "endColumn": 11, + "startColumn": 12, + "endColumn": 20, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 14, - "endColumn": 20, + "startColumn": 28, + "endColumn": 36, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 11, - "endColumn": 18, + "startColumn": 12, + "endColumn": 21, "lineCount": 1 } }, { - "code": "reportUnannotatedClassAttribute", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 13, - "endColumn": 31, + "startColumn": 28, + "endColumn": 36, "lineCount": 1 } }, { - "code": "reportUnannotatedClassAttribute", + "code": "reportUnknownVariableType", "range": { - "startColumn": 13, - "endColumn": 31, + "startColumn": 12, + "endColumn": 21, "lineCount": 1 } }, { - "code": "reportUnannotatedClassAttribute", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 13, - "endColumn": 25, + "startColumn": 28, + "endColumn": 36, "lineCount": 1 } }, { - "code": "reportUnannotatedClassAttribute", + "code": "reportUnknownVariableType", "range": { - "startColumn": 13, - "endColumn": 28, + "startColumn": 8, + "endColumn": 17, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 23, - "endColumn": 31, + "startColumn": 8, + "endColumn": 18, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnusedVariable", "range": { - "startColumn": 23, - "endColumn": 31, + "startColumn": 18, + "endColumn": 19, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownArgumentType", "range": { "startColumn": 33, - "endColumn": 40, + "endColumn": 43, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 33, - "endColumn": 40, + "startColumn": 8, + "endColumn": 13, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 42, - "endColumn": 48, + "startColumn": 28, + "endColumn": 38, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 42, - "endColumn": 48, + "startColumn": 40, + "endColumn": 45, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 8, - "endColumn": 11, + "startColumn": 22, + "endColumn": 27, + "lineCount": 1 + } + }, + { + "code": "reportUnknownArgumentType", + "range": { + "startColumn": 37, + "endColumn": 47, "lineCount": 1 } }, { - "code": "reportOperatorIssue", + "code": "reportUnknownParameterType", "range": { - "startColumn": 14, - "endColumn": 54, + "startColumn": 12, + "endColumn": 22, "lineCount": 1 } }, @@ -6367,7 +4479,7 @@ "code": "reportUnknownParameterType", "range": { "startColumn": 23, - "endColumn": 29, + "endColumn": 26, "lineCount": 1 } }, @@ -6375,215 +4487,207 @@ "code": "reportMissingParameterType", "range": { "startColumn": 23, - "endColumn": 29, + "endColumn": 26, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 31, - "endColumn": 45, + "startColumn": 12, + "endColumn": 18, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 31, - "endColumn": 45, + "startColumn": 12, + "endColumn": 16, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 47, - "endColumn": 61, + "startColumn": 25, + "endColumn": 31, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 47, - "endColumn": 61, + "startColumn": 12, + "endColumn": 19, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 23, - "endColumn": 34, + "startColumn": 27, + "endColumn": 42, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownVariableType", "range": { "startColumn": 23, - "endColumn": 34, + "endColumn": 65, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 36, - "endColumn": 47, + "startColumn": 46, + "endColumn": 64, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 36, - "endColumn": 47, + "startColumn": 19, + "endColumn": 35, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 10, - "endColumn": 24, + "startColumn": 12, + "endColumn": 22, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 8, - "endColumn": 18, + "startColumn": 23, + "endColumn": 26, "lineCount": 1 } }, { - "code": "reportUnannotatedClassAttribute", + "code": "reportMissingParameterType", "range": { - "startColumn": 4, - "endColumn": 23, + "startColumn": 23, + "endColumn": 26, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 18, - "endColumn": 24, + "startColumn": 19, + "endColumn": 48, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 18, - "endColumn": 24, + "startColumn": 24, + "endColumn": 43, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 26, - "endColumn": 37, + "startColumn": 8, + "endColumn": 17, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 26, - "endColumn": 37, + "startColumn": 8, + "endColumn": 29, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { "startColumn": 12, - "endColumn": 24, + "endColumn": 21, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 12, - "endColumn": 24, + "startColumn": 40, + "endColumn": 50, "lineCount": 1 } }, { "code": "reportUnknownParameterType", "range": { - "startColumn": 31, - "endColumn": 42, + "startColumn": 14, + "endColumn": 18, "lineCount": 1 } }, { "code": "reportMissingParameterType", "range": { - "startColumn": 31, - "endColumn": 42, + "startColumn": 14, + "endColumn": 18, "lineCount": 1 } }, { "code": "reportUnknownParameterType", "range": { - "startColumn": 49, - "endColumn": 71, + "startColumn": 20, + "endColumn": 25, "lineCount": 1 } }, { "code": "reportMissingParameterType", "range": { - "startColumn": 49, - "endColumn": 71, + "startColumn": 20, + "endColumn": 25, "lineCount": 1 } }, { - "code": "reportUnannotatedClassAttribute", + "code": "reportMissingParameterType", "range": { - "startColumn": 13, - "endColumn": 19, + "startColumn": 27, + "endColumn": 37, "lineCount": 1 } }, { - "code": "reportUnannotatedClassAttribute", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 13, - "endColumn": 24, - "lineCount": 1 + "startColumn": 8, + "endColumn": 23, + "lineCount": 4 } }, { "code": "reportUnknownMemberType", "range": { "startColumn": 8, - "endColumn": 25, - "lineCount": 1 - } - }, - { - "code": "reportUnannotatedClassAttribute", - "range": { - "startColumn": 13, - "endColumn": 25, + "endColumn": 18, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownArgumentType", "range": { "startColumn": 8, - "endColumn": 24, + "endColumn": 23, "lineCount": 1 } }, @@ -6591,295 +4695,295 @@ "code": "reportUnannotatedClassAttribute", "range": { "startColumn": 13, - "endColumn": 24, + "endColumn": 26, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUninitializedInstanceVariable", "range": { - "startColumn": 8, - "endColumn": 35, + "startColumn": 13, + "endColumn": 26, "lineCount": 1 } }, { - "code": "reportUnannotatedClassAttribute", + "code": "reportUnknownParameterType", "range": { - "startColumn": 13, - "endColumn": 35, + "startColumn": 23, + "endColumn": 31, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportMissingParameterType", "range": { - "startColumn": 8, - "endColumn": 23, + "startColumn": 23, + "endColumn": 31, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 24, - "endColumn": 41, + "startColumn": 33, + "endColumn": 40, "lineCount": 1 } }, { - "code": "reportUnannotatedClassAttribute", + "code": "reportMissingParameterType", "range": { - "startColumn": 13, - "endColumn": 28, + "startColumn": 33, + "endColumn": 40, "lineCount": 1 } }, { - "code": "reportUnannotatedClassAttribute", + "code": "reportUnknownParameterType", "range": { - "startColumn": 13, - "endColumn": 34, + "startColumn": 42, + "endColumn": 48, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportMissingParameterType", "range": { - "startColumn": 23, - "endColumn": 41, + "startColumn": 42, + "endColumn": 48, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportAny", "range": { - "startColumn": 21, - "endColumn": 57, - "lineCount": 2 + "startColumn": 13, + "endColumn": 16, + "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 33, - "endColumn": 60, + "startColumn": 13, + "endColumn": 29, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportMissingTypeArgument", "range": { - "startColumn": 22, - "endColumn": 38, + "startColumn": 45, + "endColumn": 53, "lineCount": 1 } }, { - "code": "reportUnannotatedClassAttribute", + "code": "reportUnknownVariableType", "range": { - "startColumn": 13, - "endColumn": 18, + "startColumn": 8, + "endColumn": 24, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 18, - "endColumn": 27, + "startColumn": 8, + "endColumn": 12, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportAny", "range": { - "startColumn": 18, - "endColumn": 27, + "startColumn": 37, + "endColumn": 40, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 35, - "endColumn": 49, + "startColumn": 15, + "endColumn": 24, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportAny", "range": { - "startColumn": 35, - "endColumn": 49, + "startColumn": 20, + "endColumn": 23, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportAny", "range": { - "startColumn": 8, - "endColumn": 24, + "startColumn": 16, + "endColumn": 19, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportAny", "range": { "startColumn": 16, - "endColumn": 32, + "endColumn": 19, "lineCount": 1 } }, { - "code": "reportOptionalOperand", + "code": "reportAny", "range": { - "startColumn": 19, - "endColumn": 42, + "startColumn": 28, + "endColumn": 31, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportAny", "range": { - "startColumn": 45, - "endColumn": 72, + "startColumn": 24, + "endColumn": 27, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportAny", "range": { - "startColumn": 21, - "endColumn": 38, + "startColumn": 24, + "endColumn": 27, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportAny", "range": { - "startColumn": 28, - "endColumn": 42, + "startColumn": 53, + "endColumn": 56, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportAny", "range": { - "startColumn": 8, + "startColumn": 20, "endColumn": 23, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportAny", "range": { - "startColumn": 23, - "endColumn": 31, + "startColumn": 12, + "endColumn": 15, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 23, - "endColumn": 31, + "startColumn": 31, + "endColumn": 32, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 33, - "endColumn": 40, + "startColumn": 28, + "endColumn": 29, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 33, - "endColumn": 40, + "startColumn": 31, + "endColumn": 32, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportAny", "range": { - "startColumn": 42, - "endColumn": 48, + "startColumn": 19, + "endColumn": 22, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportAny", "range": { - "startColumn": 42, - "endColumn": 48, + "startColumn": 32, + "endColumn": 33, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportAny", "range": { - "startColumn": 8, - "endColumn": 17, + "startColumn": 28, + "endColumn": 29, "lineCount": 1 } }, { - "code": "reportUnannotatedClassAttribute", + "code": "reportUnknownParameterType", "range": { - "startColumn": 4, - "endColumn": 23, + "startColumn": 18, + "endColumn": 19, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportMissingParameterType", "range": { - "startColumn": 23, - "endColumn": 29, + "startColumn": 18, + "endColumn": 19, "lineCount": 1 } }, { "code": "reportMissingParameterType", "range": { - "startColumn": 23, + "startColumn": 21, "endColumn": 29, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportMissingParameterType", "range": { - "startColumn": 31, - "endColumn": 42, + "startColumn": 42, + "endColumn": 47, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 31, - "endColumn": 42, + "startColumn": 23, + "endColumn": 24, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnannotatedClassAttribute", "range": { - "startColumn": 49, - "endColumn": 71, + "startColumn": 13, + "endColumn": 24, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnannotatedClassAttribute", "range": { - "startColumn": 49, - "endColumn": 71, + "startColumn": 13, + "endColumn": 18, "lineCount": 1 } }, @@ -6887,15 +4991,15 @@ "code": "reportUnannotatedClassAttribute", "range": { "startColumn": 13, - "endColumn": 19, + "endColumn": 17, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnannotatedClassAttribute", "range": { - "startColumn": 8, - "endColumn": 24, + "startColumn": 13, + "endColumn": 19, "lineCount": 1 } }, @@ -6903,15 +5007,15 @@ "code": "reportUnannotatedClassAttribute", "range": { "startColumn": 13, - "endColumn": 24, + "endColumn": 25, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnannotatedClassAttribute", "range": { - "startColumn": 8, - "endColumn": 35, + "startColumn": 13, + "endColumn": 23, "lineCount": 1 } }, @@ -6919,447 +5023,447 @@ "code": "reportUnannotatedClassAttribute", "range": { "startColumn": 13, - "endColumn": 35, + "endColumn": 29, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnannotatedClassAttribute", "range": { - "startColumn": 8, - "endColumn": 16, + "startColumn": 13, + "endColumn": 34, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnannotatedClassAttribute", "range": { - "startColumn": 23, - "endColumn": 30, + "startColumn": 13, + "endColumn": 34, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 23, - "endColumn": 30, + "startColumn": 29, + "endColumn": 55, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 12, - "endColumn": 19, + "startColumn": 16, + "endColumn": 33, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 21, - "endColumn": 25, + "startColumn": 37, + "endColumn": 63, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 21, - "endColumn": 25, + "startColumn": 15, + "endColumn": 33, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 29, - "endColumn": 35, + "startColumn": 24, + "endColumn": 75, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 29, - "endColumn": 35, + "startColumn": 31, + "endColumn": 74, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 20, - "endColumn": 31, + "startColumn": 56, + "endColumn": 74, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportAny", "range": { - "startColumn": 20, - "endColumn": 36, + "startColumn": 23, + "endColumn": 31, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportAny", "range": { - "startColumn": 20, - "endColumn": 56, + "startColumn": 38, + "endColumn": 45, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportAny", "range": { - "startColumn": 40, - "endColumn": 56, + "startColumn": 52, + "endColumn": 58, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 43, - "endColumn": 70, + "startColumn": 4, + "endColumn": 16, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 23, - "endColumn": 47, + "startColumn": 17, + "endColumn": 23, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportMissingParameterType", "range": { - "startColumn": 8, - "endColumn": 19, + "startColumn": 17, + "endColumn": 23, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 37, - "endColumn": 44, + "startColumn": 25, + "endColumn": 32, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportMissingParameterType", "range": { - "startColumn": 46, - "endColumn": 53, + "startColumn": 25, + "endColumn": 32, "lineCount": 1 } }, { "code": "reportUnknownVariableType", "range": { - "startColumn": 15, - "endColumn": 26, + "startColumn": 4, + "endColumn": 10, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 4, - "endColumn": 12, + "startColumn": 18, + "endColumn": 24, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 13, - "endColumn": 17, + "startColumn": 15, + "endColumn": 62, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 13, - "endColumn": 17, + "startColumn": 31, + "endColumn": 40, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { - "startColumn": 9, - "endColumn": 16, + "startColumn": 46, + "endColumn": 51, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { - "startColumn": 18, - "endColumn": 28, + "startColumn": 15, + "endColumn": 22, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 60, - "endColumn": 64, + "startColumn": 4, + "endColumn": 22, "lineCount": 1 } }, { - "code": "reportUnknownMemberType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 12, - "endColumn": 25, + "startColumn": 23, + "endColumn": 28, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportMissingParameterType", "range": { - "startColumn": 30, - "endColumn": 37, + "startColumn": 23, + "endColumn": 28, "lineCount": 1 } }, { "code": "reportUnknownMemberType", "range": { - "startColumn": 12, - "endColumn": 25, + "startColumn": 11, + "endColumn": 40, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownMemberType", "range": { - "startColumn": 31, - "endColumn": 38, + "startColumn": 11, + "endColumn": 46, "lineCount": 1 } }, { "code": "reportUnknownMemberType", "range": { - "startColumn": 12, - "endColumn": 25, + "startColumn": 11, + "endColumn": 51, "lineCount": 1 } }, { - "code": "reportAny", + "code": "reportUnknownVariableType", "range": { - "startColumn": 26, - "endColumn": 36, + "startColumn": 11, + "endColumn": 51, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownArgumentType", "range": { - "startColumn": 11, - "endColumn": 17, + "startColumn": 29, + "endColumn": 34, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportAttributeAccessIssue", "range": { - "startColumn": 4, - "endColumn": 13, + "startColumn": 36, + "endColumn": 40, "lineCount": 1 } }, { "code": "reportUnknownParameterType", "range": { - "startColumn": 14, - "endColumn": 22, + "startColumn": 20, + "endColumn": 25, "lineCount": 1 } }, { "code": "reportMissingParameterType", "range": { - "startColumn": 14, - "endColumn": 22, + "startColumn": 20, + "endColumn": 25, "lineCount": 1 } }, { "code": "reportUnknownParameterType", "range": { - "startColumn": 24, - "endColumn": 27, + "startColumn": 27, + "endColumn": 41, "lineCount": 1 } }, { "code": "reportMissingParameterType", "range": { - "startColumn": 24, - "endColumn": 27, + "startColumn": 27, + "endColumn": 41, "lineCount": 1 } }, { - "code": "reportRedeclaration", + "code": "reportUnknownVariableType", "range": { - "startColumn": 24, - "endColumn": 27, + "startColumn": 4, + "endColumn": 20, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 34, - "endColumn": 41, + "startColumn": 23, + "endColumn": 33, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportAny", "range": { - "startColumn": 12, - "endColumn": 15, + "startColumn": 29, + "endColumn": 32, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportAny", "range": { - "startColumn": 16, - "endColumn": 17, + "startColumn": 12, + "endColumn": 20, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportAny", "range": { - "startColumn": 16, - "endColumn": 17, + "startColumn": 23, + "endColumn": 31, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportAny", "range": { - "startColumn": 19, - "endColumn": 20, + "startColumn": 27, + "endColumn": 35, "lineCount": 1 } }, { - "code": "reportUnknownVariableType", + "code": "reportUnknownParameterType", "range": { - "startColumn": 11, - "endColumn": 76, + "startColumn": 4, + "endColumn": 17, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownParameterType", "range": { "startColumn": 18, - "endColumn": 26, + "endColumn": 19, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportMissingParameterType", "range": { - "startColumn": 32, - "endColumn": 58, + "startColumn": 18, + "endColumn": 19, "lineCount": 1 } }, { - "code": "reportUnknownLambdaType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 39, - "endColumn": 40, + "startColumn": 4, + "endColumn": 11, "lineCount": 1 } }, { - "code": "reportUnknownLambdaType", + "code": "reportUnknownMemberType", "range": { - "startColumn": 42, - "endColumn": 58, + "startColumn": 14, + "endColumn": 20, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportUnknownVariableType", "range": { - "startColumn": 51, - "endColumn": 57, + "startColumn": 11, + "endColumn": 18, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportAny", "range": { - "startColumn": 55, - "endColumn": 56, + "startColumn": 9, + "endColumn": 16, "lineCount": 1 } }, { "code": "reportAny", "range": { - "startColumn": 4, - "endColumn": 16, + "startColumn": 18, + "endColumn": 28, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportAny", "range": { - "startColumn": 17, - "endColumn": 21, + "startColumn": 30, + "endColumn": 37, "lineCount": 1 } }, { - "code": "reportMissingParameterType", + "code": "reportAny", "range": { - "startColumn": 17, - "endColumn": 21, + "startColumn": 31, + "endColumn": 38, "lineCount": 1 } }, { "code": "reportAny", "range": { - "startColumn": 11, - "endColumn": 37, + "startColumn": 26, + "endColumn": 36, "lineCount": 1 } }, { - "code": "reportUnknownArgumentType", + "code": "reportAny", "range": { - "startColumn": 32, - "endColumn": 36, + "startColumn": 4, + "endColumn": 16, "lineCount": 1 } }, { - "code": "reportUnknownParameterType", + "code": "reportAny", "range": { - "startColumn": 4, - "endColumn": 29, + "startColumn": 11, + "endColumn": 37, "lineCount": 1 } }, @@ -7501,14 +5605,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 24, - "endColumn": 41, - "lineCount": 1 - } - }, { "code": "reportUnknownArgumentType", "range": { @@ -16149,14 +14245,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownMemberType", - "range": { - "startColumn": 10, - "endColumn": 42, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -16173,30 +14261,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 24, - "endColumn": 32, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 34, - "endColumn": 43, - "lineCount": 1 - } - }, - { - "code": "reportUnknownLambdaType", - "range": { - "startColumn": 44, - "endColumn": 45, - "lineCount": 1 - } - }, { "code": "reportUnannotatedClassAttribute", "range": { @@ -16789,22 +14853,6 @@ "lineCount": 1 } }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 8, - "endColumn": 21, - "lineCount": 1 - } - }, - { - "code": "reportUnknownVariableType", - "range": { - "startColumn": 4, - "endColumn": 10, - "lineCount": 1 - } - }, { "code": "reportUnknownMemberType", "range": { @@ -16816,8 +14864,8 @@ { "code": "reportUnknownMemberType", "range": { - "startColumn": 9, - "endColumn": 24, + "startColumn": 4, + "endColumn": 19, "lineCount": 1 } }, @@ -16825,15 +14873,15 @@ "code": "reportUnknownMemberType", "range": { "startColumn": 4, - "endColumn": 19, + "endColumn": 15, "lineCount": 1 } }, { - "code": "reportAttributeAccessIssue", + "code": "reportUnknownMemberType", "range": { - "startColumn": 7, - "endColumn": 19, + "startColumn": 4, + "endColumn": 15, "lineCount": 1 } }, @@ -16846,10 +14894,10 @@ } }, { - "code": "reportAttributeAccessIssue", + "code": "reportUnknownMemberType", "range": { - "startColumn": 7, - "endColumn": 15, + "startColumn": 4, + "endColumn": 14, "lineCount": 1 } },