SONARPY-345 Parser should parse Python3 by default and fallback to Python2#252
SONARPY-345 Parser should parse Python3 by default and fallback to Python2#252andrea-guarino-sonarsource merged 2 commits intomasterfrom
Conversation
25d55f7 to
0ba0588
Compare
andrea-guarino-sonarsource
left a comment
There was a problem hiding this comment.
I think there is a typo in the message of the second commit (SONARPY-245 instead of SONARPY-345). Btw, maybe we should create a separate ticket for the update of PrintStatementUsageCheck: what do you think?
There was a problem hiding this comment.
What do you think about adding DEBUG log message?
There was a problem hiding this comment.
I had to rebase against the master. Now, we need both parsers to compute metrics. I had to restructure the code.
There was a problem hiding this comment.
There are two code smells regarding errorElements and parseAs not being static
There was a problem hiding this comment.
Could you please add a comment explaining why we need this?
|
I fixed the typo in the commit message.
|
…ClassType.resolveMember (#252) GitOrigin-RevId: 1639651f5c931a8fb4ab21ab1432b15291cd534a
The other commit comes from #251