-
Notifications
You must be signed in to change notification settings - Fork 36
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
Provide Pylint score #41
Comments
This issue has been automatically marked as stale because it has not had activity in the last 60 days. |
If possible, I would also like to see the code rating or score. I find it helpful to see the result of my code being scored higher after making changes. |
I like bots but maybe someone can respond here before #41 (comment) will ignore this thread again? |
Currently I don't have time to work on new features but Pull Request are welcome. |
Sorry but I don't know java. Actually I'm using self-made analog of this plugin in python. Good luck! Hope you'll find some time in near future. |
This issue has been automatically marked as stale because it has not had activity in the last 60 days. |
I looked into this because of personal interest and found this comment. Looks like we have to still wait a while to implement this. |
The problem with the json score is fixed in pylint dev branch, but we can't put it in a 2.X version in order to not break compatibility. We might release a pylint 3 alpha release if you're interested, let me know. |
Putting it in version 3 sounds good to me |
We released 3.0.0a0 with the fix, let me know if there is any problem. |
Event log:
|
I don't know what to look for in your stacktrace, what was the uncaught exception in pylint ? (By the way we released 3.0.0a1 because of a problem with disabling warning, so you should use the new one even if it probably won't fix your current problem :) .) |
@Pierre-Sassoulas, me too. Just pylint 2.7.4 worked correctly but without scoring while now pylint 3 doesnt work at all. |
Ok, let's debug it together then :) Can you open a pylint issue with the pylint command launched just before the crash and the code on which it was launched ? |
Any recent updates on the progress here? This would be a great feature! I also unfortunately do not know Java, so I cannot help in contributing a PR |
This issue is blocked by the json specification in pylint and the lack of progress on it (pylint-dev/pylint#4741). We need to implement that new json specification, and release a new 3.0 alpha first (most likely after pylint 2.12 or 2.13 is out). |
Is your feature request related to a problem? Please describe.
No, this is just a feature request for something which is in the CLI version of pylint but doesn't seem tobe in this plugin.
Describe the solution you'd like
When using Pylint from the CLI, it provides a score out of 10.0 for your code. This provides a nice, quick way to gauge improvements in the code before drilling down to the individual errors/warnings/refactoring/etc. Would it be possible to provide this information through this PyCharm plugin as well?
Describe alternatives you've considered
The only alternative currently would be run the Pylint plugin in PyCharm then separately run the CLI tool to get the score.
Additional context
For example, in one CLI run of pylint, after the list of issues it found, it reports:
Your code has been rated at 9.86/10 (previous run: 9.86/10, +0.00)
The text was updated successfully, but these errors were encountered: