[pylint] Implement PLR0916 (too-many-boolean-expressions)#7975
Merged
charliermarsh merged 4 commits intoastral-sh:mainfrom Oct 17, 2023
Merged
[pylint] Implement PLR0916 (too-many-boolean-expressions)#7975charliermarsh merged 4 commits intoastral-sh:mainfrom
too-many-boolean-expressions)#7975charliermarsh merged 4 commits intoastral-sh:mainfrom
Conversation
b82baef to
cee646c
Compare
cee646c to
69820d2
Compare
Contributor
PR Check ResultsEcosystemℹ️ ecosystem check detected changes. (+10, -0, 0 error(s)) rotki (+10, -0)
+ rotkehlchen/assets/utils.py:137:9: PLR0916 Too many Boolean expressions (7 > 5) + rotkehlchen/chain/ethereum/modules/base_bridge/decoder.py:73:17: PLR0916 Too many Boolean expressions (6 > 5) + rotkehlchen/chain/ethereum/modules/compound/decoder.py:194:17: PLR0916 Too many Boolean expressions (6 > 5) + rotkehlchen/chain/ethereum/modules/compound/decoder.py:268:17: PLR0916 Too many Boolean expressions (6 > 5) + rotkehlchen/chain/ethereum/modules/compound/decoder.py:279:17: PLR0916 Too many Boolean expressions (6 > 5) + rotkehlchen/chain/ethereum/modules/curve/decoder.py:202:17: PLR0916 Too many Boolean expressions (6 > 5) + rotkehlchen/chain/ethereum/modules/curve/decoder.py:635:17: PLR0916 Too many Boolean expressions (6 > 5) + rotkehlchen/chain/ethereum/modules/liquity/decoder.py:139:21: PLR0916 Too many Boolean expressions (6 > 5) + rotkehlchen/data_import/importers/binance.py:293:17: PLR0916 Too many Boolean expressions (7 > 5) + rotkehlchen/exchanges/kraken.py:1160:25: PLR0916 Too many Boolean expressions (7 > 5)
|
3b40ae4 to
b8d5326
Compare
too-many-boolean-expressions)
b8d5326 to
16fdcb9
Compare
16fdcb9 to
8b305e2
Compare
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.
Summary
Add R0916, no autofix available.
See: #970
Test Plan
cargo testand manually.