Commit Graph

4 Commits (1a2ca8d55b46570941dfbb3e2f2b307b57d18fa9)

Author SHA1 Message Date
Mathieu Rul b7fcc105e2
Fix null rule for syntax error
Signed-off-by: Mathieu Rul <mathroule@gmail.com>
2 years ago
Adrien Vergé 89b75b7c05 refactor: Remove UTF-8 headers in Python files
The `# -*- coding: utf-8 -*-` headers were useful for Python 2, and
aren't needed for Python 3 where UTF-8 is the default.

yamllint support of Python 2 was dropped in early 2021, see commit
a3fc64d "End support for Python 2".

Let's drop these headers.
3 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]
10 years ago
Adrien Vergé 6b5948c06b Tests: Reorganize common and global tests 10 years ago