docs: Spelling and grammar fixes

This commit is contained in:
Ville Skyttä 2022-12-12 20:08:31 +02:00 committed by GitHub
parent 5ac3ed4490
commit 6194a282fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ Actions <https://github.com/features/actions>`_ and automatically uses the
suited output format to decorate code with linting errors. You can also force suited output format to decorate code with linting errors. You can also force
the GitHub Actions output with ``yamllint --format github``. the GitHub Actions output with ``yamllint --format github``.
An minimal example workflow using GitHub Actions: A minimal example workflow using GitHub Actions:
.. code:: yaml .. code:: yaml

View File

@ -122,7 +122,7 @@ def get_cosmetic_problems(buffer, conf, filepath):
if id in self.all_rules: if id in self.all_rules:
self.rules.add(id) self.rules.add(id)
# Use a cache to store problems and flush it only when a end of line is # Use a cache to store problems and flush it only when an end of line is
# found. This allows the use of yamllint directive to disable some rules on # found. This allows the use of yamllint directive to disable some rules on
# some lines. # some lines.
cache = [] cache = []

View File

@ -14,7 +14,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
""" """
Use this rule to forbid non-explictly typed truthy values other than allowed Use this rule to forbid non-explicitly typed truthy values other than allowed
ones (by default: ``true`` and ``false``), for example ``YES`` or ``off``. ones (by default: ``true`` and ``false``), for example ``YES`` or ``off``.
This can be useful to prevent surprises from YAML parsers transforming This can be useful to prevent surprises from YAML parsers transforming