google / google/yapf

yapf does not put spaces around exponentiation operator

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

Description

pep8 mandates spaces around operators, but yapf doesn't put them around exponentiation (\*\*):

yapf --style=pep8 will format the following code as itself:

```python
x**y
```

I tested this running against a2f0342 under Python 3.5.1

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.