Skip to content

SonarPython 3.9.0.9230

Choose a tag to compare

@guillaume-dequenne guillaume-dequenne released this 12 Jan 10:49
· 1877 commits to master since this release
    Release Notes - SonarPython - Version 3.9

Bug

  • [SONARPY-935] - Ensure there are no deprecated rules in the default quality profile
  • [SONARPY-942] - Serialize unanalyzed overloaded items when regular ones are missing
  • [SONARPY-962] - Fix fully qualified name of methods of class symbols inheriting from private typeshed symbols
  • [SONARPY-963] - Custom stubs should have precedence over protobuf typeshed symbols

New Feature

  • [SONARPY-939] - Use precomputed Typeshed symbols for stdlib in the Python analyzer
  • [SONARPY-947] - SonarLint: support medium-big projects having up to 300K lines

Task

Improvement

  • [SONARPY-938] - Protobuf typeshed symbols should contain information about imported modules
  • [SONARPY-941] - Handle conflicting symbols having the same name across Python versions
  • [SONARPY-951] - Translate starred parameter types to descriptors

False-Positive

  • [SONARPY-949] - S5756 (NonCallableCalled): avoid reporting on typeshed symbols having type "Callable[T]"
  • [SONARPY-950] - S5708 (CaughtExceptionCheck) should not report on Ambiguous Symbols that might inherit from BaseException

False Negative

  • [SONARPY-937] - S5655 (ArgumentTypeCheck) should report also on incompatible ambiguous or overloaded functions
  • [SONARPY-957] - Protobuf Typeshed should serialize information about variables