#1303·yapf

[Bug][Crash][Reproducible] IndexError: tuple index out of range

Author: ArturBieniek4Created Mar 20, 2026Updated Mar 20, 2026

Problems

YAPF fails with IndexError: tuple index out of range while parsing a simple file

Reproduction

  • yapf==0.43.0
  • Put this in test.py: f"{tab["SOME_STRING"]}"
  • run yapf test.py