---
source: crates/ruff_linter/src/rules/flake8_annotations/mod.rs
---
ANN401 Dynamically typed expressions (typing.Any) are disallowed in `a`
  --> allow_star_arg_any.py:10:12
   |
 9 | # ANN401
10 | def foo(a: Any, *args: str, **kwargs: str) -> int:
   |            ^^^
11 |     pass
   |

ANN401 Dynamically typed expressions (typing.Any) are disallowed in `foo`
  --> allow_star_arg_any.py:15:47
   |
14 | # ANN401
15 | def foo(a: int, *args: str, **kwargs: str) -> Any:
   |                                               ^^^
16 |     pass
   |

ANN401 Dynamically typed expressions (typing.Any) are disallowed in `a`
  --> allow_star_arg_any.py:40:29
   |
39 |     # ANN401
40 |     def foo_method(self, a: Any, *params: str, **options: str) -> int:
   |                             ^^^
41 |         pass
   |

ANN401 Dynamically typed expressions (typing.Any) are disallowed in `foo_method`
  --> allow_star_arg_any.py:44:67
   |
43 |     # ANN401
44 |     def foo_method(self, a: int, *params: str, **options: str) -> Any:
   |                                                                   ^^^
45 |         pass
   |
