google / google/yapf

error: looks for toml/pyproject.toml despite explicit --style

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

Description

`yapf --style=setup.cfg` exits non-zero with the message

```
toml package is needed for using pyproject.toml as a configuration file
```

Explicity specifying `--style` should suppress this warning & error.

(basically #964 didn't fully fix #936)

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.