Skip to content

SonarPython 3.8.0.8883

Compare
Choose a tag to compare
@guillaume-dequenne-sonarsource guillaume-dequenne-sonarsource released this 15 Nov 16:04
· 1174 commits to master since this release
30629fb
    Release Notes - SonarPython - Version 3.8

Bug

  • [SONARPY-898] - Avoid failing on older SonarLint
  • [SONARPY-925] - Project Python version should be set to `MAX_SUPPORTED_VERSION` when setting 'sonar.python.version=3.11 or more'
  • [SONARPY-931] - Fix parse error: assignment expression within subscription
  • [SONARPY-932] - Fix parse error: decorators can be any valid expression
  • [SONARPY-933] - Fix parse error: lambda parameter list can have a trailing comma

New Feature

  • [SONARPY-908] - Basic support of match / case statement
  • [SONARPY-914] - Match / case statement: support sequence patterns
  • [SONARPY-915] - Match / case statement: support mapping patterns
  • [SONARPY-916] - Match / case statement: support class patterns
  • [SONARPY-917] - Match / case statement: support wildcard and group patterns
  • [SONARPY-918] - Match / case statement: as patterns
  • [SONARPY-919] - Match / case statement: OR patterns
  • [SONARPY-924] - Add Python 3.10 to supported versions
  • [SONARPY-929] - Match / case statement: support value patterns
  • [SONARPY-934] - Support syntax highlighting for match / case keyword

False-Positive

  • [SONARPY-909] - S5953 (Undefined symbols) Avoid FP with names bound in match/case statements
  • [SONARPY-913] - S1854 (DeadStore): take into account statements inside match / case