Commit Graph

9 Commits (ea658ec3d61a230a401151ae24d1f1b46336b7ca)

Author SHA1 Message Date
Peter Ericson 1f472bc144 Add rule: truthy, to forbid truthy values that are not quoted 8 years ago
Adrien Vergé 29c1c60143 Tests: Use absolute path to spec examples 9 years ago
Adrien Vergé 10ad302e2f Tests: Explicit encoding for spec examples
YAML specification examples contain unusual characters, let's explicit
`encoding='utf-8'` to prevent bugs.
9 years ago
Adrien Vergé 6c8af97a40 Tests: unblacklist remaining spec examples
Since !!tags are now supported.
9 years ago
Adrien Vergé 8eb0d0ad74 Tests: unblacklist spec example 7.16
As is it supported -- it just lacks some indentation.
9 years ago
Adrien Vergé ba140ad42c Tests: Remove ghost character from YAML spec example 9 years ago
Adrien Vergé c16eec4681 Style: Fix indentation not multiple of four 9 years ago
Adrien Vergé 68618be4cc Rules: indentation: Handle sets
Sets are like mappings, that do not contain values. Example:

    set:
      ? key one
      ? key two
      ? [non, scalar, key]
9 years ago
Adrien Vergé 431a379c81 Tests: Add tests from YAML 1.2 specification
Write all examples from http://www.yaml.org/spec/1.2/spec.html in
independent files in tests/yaml-1.2-spec-examples; and test them with
yamllint.
9 years ago