diff --git a/yamllint/rules/float_values.py b/yamllint/rules/float_values.py index 77a243bf..7c7c60cc 100644 --- a/yamllint/rules/float_values.py +++ b/yamllint/rules/float_values.py @@ -75,7 +75,7 @@ anemometer: angle: .NaN - #. With ``float-values: {forbid-inf: true}`` +#. With ``float-values: {forbid-inf: true}`` the following code snippets would **FAIL**: ::