mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 18:28:56 +00:00
Match Black's formatting of trailing comments containing NBSP (#7030)
This commit is contained in:
parent
60132da7bb
commit
0489bbc54c
2 changed files with 12 additions and 11 deletions
|
@ -65,11 +65,11 @@ i = "" # type: Add space before leading NBSP followed by spaces
|
|||
i = "" # type: A space is added
|
||||
i = "" # type: Add space before leading NBSP followed by a space
|
||||
i = "" # type: Add space before leading NBSP
|
||||
i = "" # type: Add space before two leading NBSP
|
||||
i = "" # type: Add space before two leading NBSP
|
||||
|
||||
|
||||
# A noqa as `#\u{A0}\u{A0}noqa` becomes `# \u{A0}noqa`
|
||||
i = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" # noqa
|
||||
i = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" # noqa
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue