google / yapf

A formatter for Python files
Apache License 2.0
13.75k stars 888 forks source link

`NO_SPACES_AROUND_SELECTED_BINARY_OPERATORS` crashes yapf when configured with `%` #1187

Open vjeranc opened 10 months ago

vjeranc commented 10 months ago
NO_SPACES_AROUND_SELECTED_BINARY_OPERATORS="%"

Configuration above does not work.

NO_SPACES_AROUND_SELECTED_BINARY_OPERATORS="%%"

Configuration above works.

I assume fix would now have to include %% and %.