mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-31 07:38:00 +00:00
Emit LexError
for dedent to incorrect level (#7638)
This commit is contained in:
parent
10e35e38d7
commit
8ce138760a
5 changed files with 126 additions and 13 deletions
|
@ -372,7 +372,7 @@ if (
|
|||
):
|
||||
pass
|
||||
|
||||
z = (
|
||||
z = (
|
||||
a
|
||||
+
|
||||
# a: extracts this comment
|
||||
|
@ -383,7 +383,7 @@ if (
|
|||
x and y
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
z = (
|
||||
(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue