-
Notifications
You must be signed in to change notification settings - Fork 2
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
Clean dotplot.py and gui.py to raise its score in pylint to at least 7.5 #30
Comments
Am I missing something? ;)
Maybe you have used pylint for python2, not for python3? Edit:
Is that right, @maciosz? |
I get lots of errors like this: |
Weird, I've used pylint for python3 for sure. I get 7.11 for dotplot and 3.51 for gui. I'll post some details later. |
Ok, my mistake with gui.py, thanks @kinga322 for noticing; I should have read the output... But for dotplot.py I get 7.11 (which of course is not that bad), I don't know why you get something else. I've cloned it just before posting the issue, so it's not because I have old version. Anyway, as I said it's not that bad, so if everyone agrees I will close this silly issue tomorrow. |
Could you paste the full output for |
Again, you're right. The main error was because of the import. Unfortunately, I can't paste you the output I got yesterday, because I have the newest version now and it gives me different score... (Yeah, I know that with git I can go back to the previous version, but I don't know how). Anyway, now for dotplot.py I get:
|
Dotplot.py and gui.py have score lower than 7.5 according to pylint. According to README, we don't allow that. We should clean the code - add docstrings, fix import errors, cut too long lines, get rid of unused variables etc.
The text was updated successfully, but these errors were encountered: