Closed whonut closed 8 years ago
yapf settings should be in the [style] section of a .style.yapf file, but the [yapf] section of a setup.cfg. From the docs (emphasis mine):
YAPF will search for the formatting style in the following manner: Specified on the command line In the [style] section of a .style.yapf file in either the current directory or one of its parent directories. In the [yapf] secionf (sic) of a setup.cfg file in either the current directory or one of its parent directories. In the ~/.config/yapf/style file in your home directory.
YAPF will search for the formatting style in the following manner:
yapf ignored altered max line length until I changed the section name.
This almost seems unworthy of a PR, but hey-ho.
My bad, thanks for fixing :+1: And the issue would be just as good, so it doesn't matter if you make a PR
yapf settings should be in the [style] section of a .style.yapf file, but the [yapf] section of a setup.cfg. From the docs (emphasis mine):
yapf ignored altered max line length until I changed the section name.
This almost seems unworthy of a PR, but hey-ho.