mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-31 15:47:41 +00:00
parent
e2b5c6ac5f
commit
cd8e1bad64
8 changed files with 137 additions and 6 deletions
|
@ -1,3 +1,4 @@
|
|||
# flags: --pyi
|
||||
from typing import Union
|
||||
|
||||
@bird
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
''''''
|
||||
|
||||
'\''
|
||||
'"'
|
||||
"'"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
""""""
|
||||
|
||||
"'"
|
||||
'"'
|
||||
"'"
|
||||
|
|
16
crates/ruff_python_formatter/resources/test/fixtures/black/raw_docstring.py
vendored
Normal file
16
crates/ruff_python_formatter/resources/test/fixtures/black/raw_docstring.py
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
# flags: --preview --skip-string-normalization
|
||||
class C:
|
||||
|
||||
r"""Raw"""
|
||||
|
||||
def f():
|
||||
|
||||
r"""Raw"""
|
||||
|
||||
class SingleQuotes:
|
||||
|
||||
|
||||
r'''Raw'''
|
||||
|
||||
class UpperCaseR:
|
||||
R"""Raw"""
|
14
crates/ruff_python_formatter/resources/test/fixtures/black/raw_docstring.py.expect
vendored
Normal file
14
crates/ruff_python_formatter/resources/test/fixtures/black/raw_docstring.py.expect
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
class C:
|
||||
r"""Raw"""
|
||||
|
||||
|
||||
def f():
|
||||
r"""Raw"""
|
||||
|
||||
|
||||
class SingleQuotes:
|
||||
r'''Raw'''
|
||||
|
||||
|
||||
class UpperCaseR:
|
||||
R"""Raw"""
|
Loading…
Add table
Add a link
Reference in a new issue