When unknown filter is used it may be due to typo or some other mistake. We got quite a few issue reports in Sourcery because wrong filter name was used based on outdated documentation or other reasons.
This PR adds suggestions for filters based on Levenshtein distance as suggested in https://github.com/krzysztofzablocki/Sourcery/issues/471
This might be extended to tags names, but seems like errors in filters are more common.
When unknown filter is used it may be due to typo or some other mistake. We got quite a few issue reports in Sourcery because wrong filter name was used based on outdated documentation or other reasons. This PR adds suggestions for filters based on Levenshtein distance as suggested in https://github.com/krzysztofzablocki/Sourcery/issues/471 This might be extended to tags names, but seems like errors in filters are more common.