Fix no-member complaint by pylint#3557
Merged
konradkonrad merged 1 commit intoraiden-network:masterfrom Feb 27, 2019
Merged
Conversation
Newest `astroid` version 2.2.0 started to complain about `no-member` for `Exception.errno` for `(JSONDecodeError, KeyError, UnicodeDecodeError)`, albeit there was an `isinstance` check before accessing it. By separating the `except` blocks, I was able to mute that problem.
hackaugusto
approved these changes
Feb 27, 2019
Codecov Report
@@ Coverage Diff @@
## master #3557 +/- ##
==========================================
- Coverage 77.14% 77.03% -0.12%
==========================================
Files 103 103
Lines 13601 13602 +1
Branches 1912 1912
==========================================
- Hits 10493 10478 -15
- Misses 2445 2457 +12
- Partials 663 667 +4
Continue to review full report at Codecov.
|
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Newest
astroidversion 2.2.0 started to complain aboutno-memberforException.errnofor(JSONDecodeError, KeyError, UnicodeDecodeError),albeit there was an
isinstancecheck before accessing it. Byseparating the
exceptblocks, I was able to mute that problem.