I'm not if it might be intentional (I don't see an indication of it), but the rst-directive-colons hook has types: [text] instead of rst like the other two reST hooks. Therefore, if unintentional, false positives might result, and it also doesn't show up when rst is selected on the pre-commit hooks page (by the way, was that dropdown a relatively new addition or did I just miss it before? Its really nice to have, thanks, and its a further motivation for me to help upgrade older hooks to use types instead of files wherever practicable).
Happy to submit a PR to fix this if it isn't intended, but I wanted to ask first. Thanks!
I'm not if it might be intentional (I don't see an indication of it), but the
rst-directive-colonshook hastypes: [text]instead ofrstlike the other two reST hooks. Therefore, if unintentional, false positives might result, and it also doesn't show up whenrstis selected on the pre-commit hooks page (by the way, was that dropdown a relatively new addition or did I just miss it before? Its really nice to have, thanks, and its a further motivation for me to help upgrade older hooks to usetypesinstead offileswherever practicable).Happy to submit a PR to fix this if it isn't intended, but I wanted to ask first. Thanks!