---
source: crates/ruff_python_formatter/tests/fixtures.rs
input_file: crates/ruff_python_formatter/resources/test/fixtures/ruff/fmt_skip/trailing_semi.py
snapshot_kind: text
---
## Input
```python
x = 1;  # fmt: skip

x = 1   ; # fmt: skip

x = 1 \
    ;   # fmt: skip

x = 1 # ; # fmt: skip

_;  #unrelated semicolon
```

## Output
```python
x = 1;  # fmt: skip

x = 1   ;  # fmt: skip

x = 1 \
    ;  # fmt: skip

x = 1  # ; # fmt: skip

_  # unrelated semicolon
```
