From 6194a282fc8035cd4c72c0e6814e2dd60f845478 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Mon, 12 Dec 2022 20:08:31 +0200 Subject: [PATCH] docs: Spelling and grammar fixes --- docs/integration.rst | 2 +- yamllint/linter.py | 2 +- yamllint/rules/truthy.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/integration.rst b/docs/integration.rst index ede2aa0..0a00e11 100644 --- a/docs/integration.rst +++ b/docs/integration.rst @@ -26,7 +26,7 @@ Actions `_ and automatically uses the suited output format to decorate code with linting errors. You can also force the GitHub Actions output with ``yamllint --format github``. -An minimal example workflow using GitHub Actions: +A minimal example workflow using GitHub Actions: .. code:: yaml diff --git a/yamllint/linter.py b/yamllint/linter.py index d250598..cf30cdf 100644 --- a/yamllint/linter.py +++ b/yamllint/linter.py @@ -122,7 +122,7 @@ def get_cosmetic_problems(buffer, conf, filepath): if id in self.all_rules: 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 # some lines. cache = [] diff --git a/yamllint/rules/truthy.py b/yamllint/rules/truthy.py index 6387e45..95c3bc3 100644 --- a/yamllint/rules/truthy.py +++ b/yamllint/rules/truthy.py @@ -14,7 +14,7 @@ # along with this program. If not, see . """ -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``. This can be useful to prevent surprises from YAML parsers transforming