A parameter or return value is annotated with Any, which turns type checking off for it

tx0/python:any-annotationstrictnotestyle

What it finds

Any is compatible with every type in both directions, so a type checker accepts any use of the value and the annotation documents nothing. object accepts every value but allows only what all objects support, and a protocol or type variable says what is really expected. Reported are annotations of parameters and return values that are exactly Any; *args: Any and **kwargs: Any, which forward arguments, are left alone, and so are stubs.

From the rule's source, any_annotation.rs.

Example from the rule's tests
from typing import Any  def load(data: Any) -> int:tx0 reports: Any turns type checking off for this value    return data  def dump(data: int) -> Any:tx0 reports: Any turns type checking off for this value    return data  def forward(*args: Any, **kwargs: Any) -> None:    pass
Highlighted lines are the ones tx0 reports, with its message under each; the other lines are left alone.

Turn it on, off or suppress it

The rule runs from the strict tier up. To turn it on in a lower tier, give it a level in tx0.toml:

tx0.toml
[rules]
"tx0/python:any-annotation" = "note"

To keep one finding, suppress it with a reason. tx0 suppress ID --reason "..." writes the comment on the line before the code:

# tx0: ignore[tx0/python:any-annotation] reason="..."

tx0 explain tx0/python:any-annotation shows the same in the terminal. Found a false positive? Report it.