This can allow TODO only if they fit certain patterns.
This could be used to enforce a rule like "All TODO must be tied to a bug, not a person".
## BAD
# TODO(michaelchirico): fix this
# TODO: add testing
## GOOD
# TODO(#nnn): fix this
# TODO(#mmm): add testing
Maybe an argument like allow_regex or allow_style_regex, in this case allow_regex = "TODO[(][#][0-9]+[)]:" could work.
This can allow
TODOonly if they fit certain patterns.This could be used to enforce a rule like "All TODO must be tied to a bug, not a person".
Maybe an argument like
allow_regexorallow_style_regex, in this caseallow_regex = "TODO[(][#][0-9]+[)]:"could work.