ruff_python_formatter 0.0.4

This is an internal component crate of Ruff
Documentation
---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/black/cases/raw_docstring.py
---
## Input

```python
class C:

    r"""Raw"""

def f():

    r"""Raw"""

class SingleQuotes:


    r'''Raw'''

class UpperCaseR:
    R"""Raw"""
```

## Black Differences

```diff
--- Black
+++ Ruff
@@ -7,7 +7,7 @@
 
 
 class SingleQuotes:
-    r'''Raw'''
+    r"""Raw"""
 
 
 class UpperCaseR:
```

## Ruff Output

```python
class C:
    r"""Raw"""


def f():
    r"""Raw"""


class SingleQuotes:
    r"""Raw"""


class UpperCaseR:
    R"""Raw"""
```

## Black Output

```python
class C:
    r"""Raw"""


def f():
    r"""Raw"""


class SingleQuotes:
    r'''Raw'''


class UpperCaseR:
    R"""Raw"""
```