google / google/yapf

Conflict with pycodestyle E124

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

Description

The following code formatted with `yapf` is in conflict with `pycodestyle` [E124](https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes) `closing bracket does not match visual indentation`:

```python
for _ in range(3):
for _ in range(3):
foo = bar[
(very_long_variable______________________________________________ ==
other_very_long_variable_________________________________________) &
(very_long_variable_______________ == other_very_long_variable_______
)]
```

Versions:
```
python == 3.9.1
yapf == 0.30.0
flake8 == 3.8.4
pycodestyle == 2.6.0
```

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.