Skip to content

SonarPython 4.13.0.14130

Compare
Choose a tag to compare
@guillaume-dequenne-sonarsource guillaume-dequenne-sonarsource released this 05 Dec 14:44
· 136 commits to master since this release
247d534

Release notes - SonarPython - 4.13

Bug

SONARPY-1247 Fix inconsistencies in test rule results when test dirs are configured

SONARPY-1574 Correctly infer types in case of annotated assignments

False-Positive

SONARPY-1010 Fix FP on S5607, S5864, S2159, S5644, S3862 when using mocks

SONARPY-1166 Avoid FPs when variables are used inside 'pandas.DataFrame.query' expression argument

SONARPY-1251 Fix FP on S1940 Inverted boolean checks when comparing Sets

SONARPY-1252 S5886 (FunctionReturnTypeCheck) should consider type aliases

SONARPY-1256 Fix FP on S5886 when Iterator is an ambiguous symbol

SONARPY-1562 Fix FP on S139 when the comment is a Flake8 pragma comment

SONARPY-1563 Fix FPs on S1172 when the parameter is intentionally unused

SONARPY-1568 S6542 should not raise an issue on overrides and overloads

False Negative

SONARPY-1570 [S5332] Fix FN when calls are made to `http.server.HTTPServer.server_bind(self)` from within inherited classes.

Improvement

SONARPY-1556 Parameters should properly support union type as declared type

SONARPY-1558 Support declared types of class fields