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

Pass specific words to -I flag as parameters instead of needing to use a file #185

Closed
luzpaz opened this issue Nov 6, 2017 · 0 comments
Closed

Comments

@luzpaz
Copy link
Collaborator

luzpaz commented Nov 6, 2017

Thanks to @thdot per #100 we can now use -I <file name> to ignore certain words. Each word needs to be on a separate line in the file. That is great when there is a place to save a whitelist file to so codespell can read it.

But say we were in a Buildbot environment, an automated testing framework, where we've setup codespell as a unit test... and so there isn't an easy possibility to save a whitelist file somewhere? Or another scenario, we're trying to quickly filter out a ginormous list of false positives from a codespell result, one needs to open their favorite editor and add each word on a separate line and link said file. It's not the most efficient.

It would be then useful to then have the the ability to pass the whitelisted words sequentially ex. codespell -I 'nto,ans,pres,ot,amin'
Thoughts?

@luzpaz luzpaz changed the title Pass specific words to ignore via command line as parameters instead of needing to use a file Pass specific words to -I flag as parameters instead of needing to use a file Nov 6, 2017
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

No branches or pull requests

1 participant