Skip to content

Commit

Permalink
Fix references to deprecated ANN rules in changelog (#9771)
Browse files Browse the repository at this point in the history
We deprecated `ANN101` and `ANN102`, but the changelog says `ANN001` and
`ANN002`. (I've confirmed that the code reflects the correct
deprecation; it's just a documentation error.)
  • Loading branch information
charliermarsh authored Feb 2, 2024
1 parent 66d2c1e commit 92d99a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ See also, the "Remapped rules" section which may result in disabled rules.

The following rules are now deprecated:

- [`missing-type-function-argument`](https://docs.astral.sh/ruff/rules/missing-type-function-argument/) (`ANN001`)
- [`missing-type-args`](https://docs.astral.sh/ruff/rules/missing-type-args/) (`ANN002`)
- [`missing-type-self`](https://docs.astral.sh/ruff/rules/missing-type-self/) (`ANN101`)
- [`missing-type-cls`](https://docs.astral.sh/ruff/rules/missing-type-cls/) (`ANN102`)

The following command line options are now deprecated:

Expand Down

0 comments on commit 92d99a7

Please sign in to comment.