<!-- Thank you for taking the time to report an issue! We're glad to have you involved with Ruff. If you're filing a bug report, please consider including the following information: * List of keywords you searched for before creating this issue. Write them down here so that others can find this issue more easily and help provide feedback. e.g. "RUF001", "unused variable", "Jupyter notebook" * A minimal code snippet that reproduces the bug. * The command you invoked (e.g., `ruff /path/to/file.py --fix`), ideally including the `--isolated` flag. * The current Ruff settings (any relevant sections from your `pyproject.toml`). * The current Ruff version (`ruff --version`). --> input ```py test = 0x5 test = test + 0xBA test2 = b"" test2 = test2 + b"\000" ``` Run ` ruff check --fix --unsafe-fixes --preview --select=PLR6104 --isolated` output ```py test = 0x5 test += 186 test2 = b"" test2 += b"\x00" ``` Ruff version 0.4.7