Conversation
pyproject.toml
Outdated
| ] | ||
| ignore = [ | ||
| # TODO: Link all in-code TODOs to existing issues | ||
| "TD003", # Missing issue link for this TODO |
There was a problem hiding this comment.
I actually like missing-todo-link (TD003) as it ensures there's a relevant open issue (doesn't have to be on typeshed's repo) to track the required actions, offer a space for discussion, increase visibility for possible contributors, etc.
And when the issue is closed, it's easier to spot which parts of the code was affected.
However, there's currently 87 unlinked TODO in typeshed according to this rule.
There was a problem hiding this comment.
Not a fan of TD003 for our purposes. This would just spam our issues with small changes that not very critical. Not every instance of "dict[str, Any] # TODO: This could be a TypedDict" needs an issue, and I don't think group issues are very useful for this either.
|
The only manual changes needed were for missing-todo-colon (TD004) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
Ref #13295
Rules: flake8-todos (TD)