google / google/yapf

yapf doesn't recognize "SPACES_AROUND_SUBSCRIPT_COLON" from docs

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

Description

I found that yapf doesn't recognize the `SPACES_AROUND_SUBSCRIPT_COLON` knob that's listed in the docs. Here's how I produced the error:

#### Config (`setup.cfg`)
```
[yapf]
based_on_style = pep8
spaces_around_subscript_colon = true
```

#### Shell
```
>> yapf -i
yapf: Unknown style option "SPACES_AROUND_SUBSCRIPT_COLON"
```

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.