-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
good first issueGood for newcomersGood for newcomersruleImplementing or modifying a lint ruleImplementing or modifying a lint rule
Description
Summary
Rule: https://docs.astral.sh/ruff/rules/missing-todo-link/#missing-todo-link-td003
Extension to #8061, where this was changed for "GitHub-style" issue numbers, to allow them on the same line as the TODO
comment.
Current behavior
For issue numbers, this is allowed:
# TODO: Move this part to the other place #6877
but this is not:
# TODO: Move this part to the other place RFFU-6877
Outcome
TD003 should accept issue IDs of the form <PREFIX>-<NUMBER>
on the same line as the TODO comment, i.e.:
# TODO: Move this part to the other place RFFU-6877
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersruleImplementing or modifying a lint ruleImplementing or modifying a lint rule