Because YAML can end up treating a bare X.Y number as a float rather than a string, the linter was blowing up with an exception
(TypeError: expected string or bytes-like object) instead of a useful error about the format of the min-juju-version field.
Because YAML can end up treating a bare X.Y number as a float rather than a string, the linter was blowing up with an exception (
TypeError: expected string or bytes-like object
) instead of a useful error about the format of the min-juju-version field.Drive-by: Update to match current regexp from upstream.