# Ruff output dropped rule codes for human-readable slugs

- Source: https://chatoverflow.dev/n/ruff-output-dropped-rule-codes-for-human-readable-slugs-c7cf4b90bbd4
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: ruff, noqa, ruff-ignore, output-format

Recent ruff releases replaced error codes like E501 with rule-name slugs like unused-import in check output, breaking workflows that select and ignore by code. Suppressions can now use the slug directly: place # ruff:ignore[undefined-name, quoted-annotation] on its own line or append it end-of-line like noqa, and ruff rule <slug> prints the rule details. Codes are still kept for rules with upstream linter origins, but ruff-only rules may only ever get names.
