mirror of
https://github.com/astral-sh/ruff
synced 2026-01-08 15:14:19 -05:00
@@ -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"""
|
||||
Reference in New Issue
Block a user