Skip to content

SonarPython 2.12

Compare
Choose a tag to compare
@andrea-guarino-sonarsource andrea-guarino-sonarsource released this 11 Jun 08:13
· 1809 commits to master since this release
f052e10
    Release Notes - SonarPython - Version 2.12

New Feature

  • [SONARPY-675] - Rule S5799: Implicit string and byte concatenations should not be confusing
  • [SONARPY-676] - Rule S5806: Builtins should not be shadowed
  • [SONARPY-678] - Rule S5807: Only defined names should be listed in "__all__"
  • [SONARPY-679] - Rule S2823: Only strings should be listed in "__all__"
  • [SONARPY-685] - Rule S3457: Strings should be formatted correctly
  • [SONARPY-686] - Rule S2275: String formatting should not fail
  • [SONARPY-688] - Rule S5828: The "open" builtin should be called with a valid mode
  • [SONARPY-695] - Typeshed: Support packages without transitive module resolution
  • [SONARPY-696] - Typeshed: Support importing of submodules

False-Positive

  • [SONARPY-699] - Fix FP on S1481: variables used as a nested format specification in f-string
  • [SONARPY-713] - RSPEC-5708 (CaughtExceptionsCheck) shouldn't raise on variables holding tuples