Hello VSCode users,
we are happy to bring great news to all Python developers. In facts, we delivered a major improvement in the Python analyzer that leverages cross-module resolution of symbols for detecting code quality and security issues in your code.
As a result, you can expect a better level of detection accuracy, meaning less false positives and less false negatives. Just to give you an example, SonarLint is now able to detect whether you are calling a function defined in a different module with an incorrect number of arguments:
Please note that for now, in order to avoid performance issues, we only activated this new functionality for small Python projects (i.e. < 150.000 LOC); this limit will be increased as we will work to improve performances.
And by the way in this example (and in many other cases as well), we use text editor decorations to help you identify the affected locations in the code.
One more note for all SonarLint users: starting from this version we have discontinued the support for SonarQube versions < 7.9 - this is why we have released this as a major version. And I take the chance to let you know that we just released our new SonarQube 8.9 LTS, that come with many great new features, so we strongly encourage you to update your SonarQube version.
You can read the full SonarLint for VSCode 2.0.0 release notes here.