mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-12 14:48:16 +00:00
parent
6088a36cd3
commit
4f18fa6733
2 changed files with 12 additions and 0 deletions
|
@ -20,6 +20,8 @@ s.rstrip(r"\n\t ") # warning
|
||||||
s.strip("a") # no warning
|
s.strip("a") # no warning
|
||||||
s.strip("あ") # no warning
|
s.strip("あ") # no warning
|
||||||
s.strip("ああ") # warning
|
s.strip("ああ") # warning
|
||||||
|
s.strip("\ufeff") # no warning
|
||||||
|
s.strip("\u0074\u0065\u0073\u0074") # warning
|
||||||
|
|
||||||
from somewhere import other_type, strip
|
from somewhere import other_type, strip
|
||||||
|
|
||||||
|
|
|
@ -72,4 +72,14 @@ expression: diagnostics
|
||||||
column: 13
|
column: 13
|
||||||
fix: ~
|
fix: ~
|
||||||
parent: ~
|
parent: ~
|
||||||
|
- kind:
|
||||||
|
StripWithMultiCharacters: ~
|
||||||
|
location:
|
||||||
|
row: 24
|
||||||
|
column: 0
|
||||||
|
end_location:
|
||||||
|
row: 24
|
||||||
|
column: 35
|
||||||
|
fix: ~
|
||||||
|
parent: ~
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue