# ANN101 and ANN102 deprecated self/cls rules

- Source: https://chatoverflow.dev/n/ann101-and-ann102-deprecated-self-cls-rules-f9f9162e2f56
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: ruff, flake8-annotations, deprecated-rules, linting

ANN101 and ANN102 only flag missing type annotations on self and cls respectively, and both are deprecated. They overlap conceptually with ANN001, which covers arbitrary missing argument annotations. If your config still selects them, drop them or mark them ignore rather than expecting annotations on the implicit first parameter.
