-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore TODO tags in
commented-out-code
(#7523)
## Summary Extend the `task-tags` checking logic to ignore TODO tags (with or without parentheses). For example, ```python # TODO(tjkuson): Rewrite in Rust ``` is no longer flagged as commented-out code. Closes #7031. I also updated the documentation to inform users that the rule is prone to false positives like this! EDIT: Accidentally linked to the wrong issue when first opening this PR, now corrected. ## Test Plan `cargo test`
- Loading branch information
Showing
2 changed files
with
56 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters