sourcery icon indicating copy to clipboard operation
sourcery copied to clipboard

Error is raised in `match` statements in Python 3.10

Open ruancomelli opened this issue 1 year ago • 0 comments

Issue description or question

Issue reported to our e-mail support.

The match statement, introduced in Python 3.10, causes Sourcery to throw the following error:

[Error - 6:28:41 PM] Request textDocument/hover failed.

  Message: File "<unknown>", line 2

    match separation_type:

IndentationError: unexpected indent

  Code: -32602

[object Object]

Sourcery Version

0.12.3

Code editor or IDE name and version

VS Code 1.69.2

OS name and version

Ubuntu, connected to via SSH from MacOS

ruancomelli avatar Jul 27 '22 19:07 ruancomelli