Lines Matching refs:yapf
5 .. image:: https://badge.fury.io/py/yapf.svg
6 :target: https://badge.fury.io/py/yapf
9 .. image:: https://travis-ci.org/google/yapf.svg?branch=master
10 :target: https://travis-ci.org/google/yapf
13 .. image:: https://coveralls.io/repos/google/yapf/badge.svg?branch=master
14 :target: https://coveralls.io/r/google/yapf?branch=master
39 Try out YAPF with this `online demo <https://yapf.now.sh>`_.
56 $ pip install yapf
75 $ PYTHONPATH=DIR python DIR/yapf [options] ...
94 usage: yapf [-h] [-v] [-d | -i] [-r | -l START-END] [-e PATTERN]
117 .style.yapf or setup.cfg file located in the same
122 to .style.yapf to make your settings permanent
124 -p, --parallel Run yapf in parallel when formatting multiple files.
177 2. In the `[style]` section of a `.style.yapf` file in either the current
179 3. In the `[yapf]` section of a `setup.cfg` file in either the current
181 4. In the `~/.config/yapf/style` file in your home directory.
235 The two main APIs for calling yapf are ``FormatCode`` and ``FormatFile``, these
240 >>> from yapf.yapflib.yapf_api import FormatCode # reformat a string of code
283 >>> from yapf.yapflib.yapf_api import FormatFile # reformat a file
607 # yapf: disable
615 # yapf: enable
625 } # yapf: disable