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

Codespell should ignore empty files (and not print error/warning). #34

Closed
qyearsley-zz opened this issue Apr 13, 2015 · 2 comments
Closed

Comments

@qyearsley-zz
Copy link
Contributor

One minor change in behavior that could be made: Right now, if a file is empty it prints something like:

ERROR: Could not detect encoding: ./__init__.py

It should probably just pass over these files and not print anything.

@lucasdemarchi
Copy link
Collaborator

Are you using codespell from master? I remember this was fixed some time ago

@qyearsley-zz
Copy link
Contributor Author

Agh, good point, I wasn't using it from master (I was just using the stable debian package version). Just tried latest version, and this is not an issue.

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

2 participants