False positive: Remove those useless parentheses

24 views
Skip to first unread message

hans...@luther.edu

unread,
Jan 31, 2017, 9:49:55 AM1/31/17
to SonarLint

python:S1110 is being triggered for one line generator expressions. See the attached screen shot for an example.


PyCharm 2016.3.2

python 2.7

SonarLint 2.7.1.1640





elena....@sonarsource.com

unread,
Jan 31, 2017, 11:16:30 AM1/31/17
to SonarLint, hans...@luther.edu
Hi,

Thanks for the feedback!
 That's a bug in SonarPython analyser, I've created a ticket for it https://jira.sonarsource.com/browse/SONARPY-194.

Elena VILCHIK | SonarSource
Language Team
Reply all
Reply to author
Forward
0 new messages