aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wendling <morbo@google.com>2021-11-04 00:36:39 -0700
committerBill Wendling <morbo@google.com>2021-11-04 00:36:39 -0700
commit265c31eefb8a2913a31ab5ae37b45d7d34c85598 (patch)
tree8b06b66e218da67114b9ca97477a50e189f6ade9
parentdbd49c3cffc1ffc382bfdd4c0979d444730c546d (diff)
downloadyapf-265c31eefb8a2913a31ab5ae37b45d7d34c85598.tar.gz
Use '[style]' in the example, as that's the most common style section
Closes #961
-rw-r--r--README.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 0b8a83e..e0e2316 100644
--- a/README.rst
+++ b/README.rst
@@ -175,11 +175,11 @@ the predefined styles (e.g., ``pep8`` or ``google``), a path to a configuration
file that specifies the desired style, or a dictionary of key/value pairs.
The config file is a simple listing of (case-insensitive) ``key = value`` pairs
-with a ``[yapf]`` heading. For example:
+with a ``[style]`` heading. For example:
.. code-block:: ini
- [yapf]
+ [style]
based_on_style = pep8
spaces_before_comment = 4
split_before_logical_operator = true