google / google/yapf

`NO_SPACES_AROUND_SELECTED_BINARY_OPERATORS` crashes yapf when configured with `%`

Open
#1,187 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14k
Forks
904
PR merge metrics
No merged PRs in 30d

Description

```
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 `%`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.