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
codespell.py does nothng if [fileN] is not specified #84
Comments
Can you open a PR to fix it? Although I'm not sure if that is really the "principle of least surprise" behavior, if it was the default before, I suppose it should stay that way. WDYT @lucasdemarchi? |
We could display the help message or maintain the previous behavior. Doing nothing is the worst. @anatol do you think it would be ok to change the default behavior, requiring an argument? Otherwise let's just go back and do what we were doing. |
I prefer previous implementation. When I call codespell I expect it checks files in the current context (current directory). Looking at the
It should append current directory by default. Maybe recent refactoring changed argument count here? |
|
Fix 'codespell-project/codespell#84' git-svn-id: file:///srv/repos/svn-community/svn@180393 9fca08f4-af9d-4005-b8df-a31f2cc04f65
Previously running
codespell
without file parameter starts the check. Nowcodespell.py
does nothing. The behavior should stay the same as before - if file/dir argument is not specefied then current directory should be used as a default parameter.The text was updated successfully, but these errors were encountered: