docs: Fix typos

This commit is contained in:
Dimitri Papadopoulos 2022-10-27 09:16:40 +02:00 committed by Adrien Vergé
parent c9c5e0b1c7
commit 5fbf44c203
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ invalid tokens ``{%`` and ``%}``:
.. code-block:: .. code-block::
# This file IS NOT valid YAML and will procuce syntax errors # This file IS NOT valid YAML and will produce syntax errors
{% if extra_info %} {% if extra_info %}
key1: value1 key1: value1
{% endif %} {% endif %}

View File

@ -1373,7 +1373,7 @@ class IndentationTestCase(RuleTestCase):
def test_nested_collections_with_spaces_consistent(self): def test_nested_collections_with_spaces_consistent(self):
"""Tests behavior of {spaces: consistent} in nested collections to """Tests behavior of {spaces: consistent} in nested collections to
ensure wrong-indentation is properly caught--especially when the ensure wrong-indentation is properly caught--especially when the
expected indent value is initially unkown. For details, see expected indent value is initially unknown. For details, see
https://github.com/adrienverge/yamllint/issues/485. https://github.com/adrienverge/yamllint/issues/485.
""" """
conf = ('indentation: {spaces: consistent,\n' conf = ('indentation: {spaces: consistent,\n'