forked from pylint-dev/pylint
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix false positive
superfluous-parens
for tuples
Tuples can be created with inner tuples. This creates double parenthesis which we flagged incorrectly. This closes pylint-dev#4907
- Loading branch information
1 parent
832db06
commit e60cd4b
Showing
6 changed files
with
43 additions
and
27 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
superfluous-parens:5:0::Unnecessary parens after 'if' keyword:HIGH | ||
superfluous-parens:7:0::Unnecessary parens after 'not' keyword:HIGH | ||
superfluous-parens:11:0::Unnecessary parens after 'for' keyword:HIGH | ||
superfluous-parens:13:0::Unnecessary parens after 'if' keyword:HIGH | ||
superfluous-parens:18:0::Unnecessary parens after 'del' keyword:HIGH | ||
superfluous-parens:21:0::Unnecessary parens after 'in' keyword:HIGH | ||
superfluous-parens:23:0::Unnecessary parens after 'else' keyword:HIGH | ||
superfluous-parens:24:0::Unnecessary parens after 'else' keyword:HIGH | ||
superfluous-parens:30:0::Unnecessary parens after 'assert' keyword:HIGH | ||
superfluous-parens:40:0::Unnecessary parens after 'in' keyword:HIGH | ||
superfluous-parens:6:0::Unnecessary parens after 'if' keyword:HIGH | ||
superfluous-parens:8:0::Unnecessary parens after 'not' keyword:HIGH | ||
superfluous-parens:12:0::Unnecessary parens after 'for' keyword:HIGH | ||
superfluous-parens:14:0::Unnecessary parens after 'if' keyword:HIGH | ||
superfluous-parens:19:0::Unnecessary parens after 'del' keyword:HIGH | ||
superfluous-parens:31:0::Unnecessary parens after 'assert' keyword:HIGH |