-
Notifications
You must be signed in to change notification settings - Fork 771
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
Useful pylint fixes #1715
base: master
Are you sure you want to change the base?
Useful pylint fixes #1715
Conversation
06a41bd
to
376fba1
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1715 +/- ##
==========================================
+ Coverage 95.52% 95.95% +0.43%
==========================================
Files 52 84 +32
Lines 6975 8462 +1487
Branches 0 163 +163
==========================================
+ Hits 6663 8120 +1457
+ Misses 312 292 -20
- Partials 0 50 +50 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 29 of 29 files at r1, all commit messages.
Reviewable status: 1 of 2 LGTMs obtained (waiting on @bstaletic)
376fba1
to
3e56747
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebased. I'll take a look at the changes once again tomorrow.
Reviewable status: 0 of 2 LGTMs obtained (and 1 stale) (waiting on @puremourning)
After combing through all the stuff pylint has found, this seems to me the useful part. The only questionable thing here, I think, could be the stuff related to `open()` and explicit encoding argument. This changes behaviour! Without specifying, the encoding is platform dependent. See https://docs.python.org/3/library/functions.html#open for details. Fixes ycm-core#1672
After combing through all the stuff pylint has found, this seems to me the useful part.
The only questionable thing here, I think, could be the stuff related to
open()
and explicit encoding argument. This changes behaviour! Without specifying, the encoding is platform dependent. See https://docs.python.org/3/library/functions.html#open for details.Fixes #1672
The dead code in python completer (see #1672) is removed in this pull request.
This change is