Skip to content

4.10.0.13725

Compare
Choose a tag to compare
@joke1196 joke1196 released this 01 Nov 13:31
· 403 commits to master since this release
cbda730

Release notes - SonarPython - 4.10

Bug

SONARPY-1533 Fix Ruff report import to use the correct column and row location

False-Positive

SONARPY-1521 S4143: Fix FP when there is different collections value assignment for same key

SONARPY-1524 S3827: Fix FP when value is referenced in type alias

SONARPY-1525 S5953: fix FP when using generic types for parameters and return type hints

SONARPY-1530 S5806: Fix FN and FP regarding the Ellipsis and the ellipsis type.

SONARPY-1536 S6735: Fix false positive when left_on or right_on is specified for pandas.merge

New Feature

SONARPY-1484 Support type parameter syntax for classes

SONARPY-1486 Support generic type alias declaration syntax

SONARPY-1493 Support lexing of PEP701 f-strings

SONARPY-1494 Support grammar of PEP701 f-strings

SONARPY-1509 Rule S6799: f-strings should not be nested too deeply

SONARPY-1510 Rule S6792: Generic classes should be defined using the type parameter syntax

SONARPY-1511 Rule S6794: Type aliases should be declared with a "type" statement

SONARPY-1512 Rule S6796: Generic functions should be defined using the type parameter syntax

Improvement

SONARPY-1515 Support function and class type parameters for Symbol table

SONARPY-1529 Standardise rule message formatting across rules implemented in MMF-3335 and MMF-3336.