diff --git a/docs/integration.rst b/docs/integration.rst index ede2aa03..0a00e116 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 d250598b..cf30cdf7 100644 --- a/yamllint/linter.py +++ b/yamllint/linter.py @@ -122,7 +122,7 @@ def process_comment(self, comment): 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 6387e45b..95c3bc3a 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