astral-sh / astral-sh/ruff

`missing-todo-link` (`TD003`) - false negative when text preceeding "TODO"

Open
#7,628 1 comment 0 reactions 0 assignees View on GitHub
needs-decision
Dominant language
Rust
Stars
49.6k
Forks
2.4k
Avg merge
2d 1h
Merged PRs (30d)
458

Description

```py
# asdf TODO: no error here
# TODO: error
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the two comments from the issue with Ruff and focus on the TD003 (missing-todo-link) rule. Trace the rule's implementation and existing tests, then verify that the preceding text does not cause a TODO comment requiring a link to be missed while the second example remains diagnosed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.