---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_on_off/yapf.py
---
## Input
```python
# Gets formatted
a +   b

# yapf: disable
a + [1, 2, 3, 4, 5  ]
# yapf: enable

# Gets formatted again
a +  b


# yapf: disable
a + [1, 2, 3, 4, 5   ]
# fmt: on

# Gets formatted again
a +  b
```

## Output
```python
# Gets formatted
a + b

# yapf: disable
a + [1, 2, 3, 4, 5  ]
# yapf: enable

# Gets formatted again
a + b


# yapf: disable
a + [1, 2, 3, 4, 5   ]
# fmt: on

# Gets formatted again
a + b
```
