Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added filter suggestions #186

Merged
merged 4 commits into from
Jan 22, 2018
Merged

Added filter suggestions #186

merged 4 commits into from
Jan 22, 2018

Conversation

ilyapuchka
Copy link
Collaborator

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 krzysztofzablocki/Sourcery#471
This might be extended to tags names, but seems like errors in filters are more common.

@kylef kylef merged commit 359d086 into master Jan 22, 2018
@kylef kylef deleted the suggest-filter branch January 22, 2018 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants