core: Add ruff rules ANN (type annotations) #36816
Annotations
10 errors and 1 warning
Analysing the code with our lint:
libs/core/langchain_core/_api/beta_decorator.py#L96
langchain_core/_api/beta_decorator.py:96:68: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `warning_emitting_wrapper`
|
Analysing the code with our lint:
libs/core/langchain_core/_api/beta_decorator.py#L112
langchain_core/_api/beta_decorator.py:112:75: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `awarning_emitting_wrapper`
|
Analysing the code with our lint:
libs/core/langchain_core/_api/beta_decorator.py#L134
langchain_core/_api/beta_decorator.py:134:27: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `self`
|
Analysing the code with our lint:
libs/core/langchain_core/_api/beta_decorator.py#L135
langchain_core/_api/beta_decorator.py:135:22: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `warn_if_direct_instance`
|
Analysing the code with our lint:
libs/core/langchain_core/_api/beta_decorator.py#L172
langchain_core/_api/beta_decorator.py:172:37: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `instance`
|
Analysing the code with our lint:
libs/core/langchain_core/_api/beta_decorator.py#L173
langchain_core/_api/beta_decorator.py:173:22: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `__get__`
|
Analysing the code with our lint:
libs/core/langchain_core/_api/beta_decorator.py#L178
langchain_core/_api/beta_decorator.py:178:45: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `instance`
|
Analysing the code with our lint:
libs/core/langchain_core/_api/beta_decorator.py#L178
langchain_core/_api/beta_decorator.py:178:57: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `value`
|
Analysing the code with our lint:
libs/core/langchain_core/_api/beta_decorator.py#L183
langchain_core/_api/beta_decorator.py:183:48: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `instance`
|
Analysing the code with our lint:
libs/core/langchain_core/_api/beta_decorator.py#L193
langchain_core/_api/beta_decorator.py:193:72: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `finalize`
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading