SonarCloud knows how to scan Python 3.9 code

Hello Python developers,

Python 3.9 (released on 5th of October 2020) introduces new syntaxes that SonarCloud is now able to parse.

Here is what’s new on Python 3.9 as per documented here:

New syntax features:

  • PEP 584 : union operators added to dict;
  • PEP 585 : type hinting generics in standard collections;
  • PEP 614 : relaxed grammar restrictions on decorators.

New built-in features:

  • PEP 616 : string methods to remove prefixes and suffixes.

If you are a SonarQube user, support of Python 3.9 will come with SonarQube 8.7.



1 Like