-
Notifications
You must be signed in to change notification settings - Fork 133
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
namespace docstrings break kibit... #231
Comments
It looks like this might be a regression in 0.1.7? I just tried upgrading my project to use 0.1.7 instead of 0.1.6, but I’m seeing a rash of very similar error messages: When using 0.1.6
When using 0.1.7
And it does look like all of the clj files mentioned in the error output do have docstrings in their opening Output of
|
Thanks @aviflax, can you confirm what happens if you temporarily remove the docstrings from those namespaces? Does kibit check the file? |
I can confirm that it does work if you remove the docstrings.
… On Jul 28, 2019, at 12:41 PM, Daniel Compton ***@***.***> wrote:
Thanks @aviflax, can you confirm what happens if you temporarily remove the docstrings from those namespaces? Does kibit run correctly?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Yes, confirmed. |
@eigenhombre - I am experiencing the same issue, I get a When using 0.1.6``` -> lein kibit file.clj -> ``` When using 0.1.7``` -> lein kibit file.clj Check failed -- skipping rest of file (file.clj:null:null) java.lang.Character cannot be cast to clojure.lang.Named -> ``` |
I've added an 👀 emoji to the ticket description so folks don't have to "me too" their comments, if they don't want to ... |
Hey! It would be nice to have a minor release with this fix :) We wanted to use kibit in a project here but we have a lot of namespace docstrings... Could you help out and make a release, please? |
Done! |
... and
lein kibit
fails to properly set the exit code:If you leave off the docstring for the namespace,
kibit
runs fine.The text was updated successfully, but these errors were encountered: