Commit Graph

4 Commits (4b27710d3ab5f11e68e8bfbdf757ad2e2e061f43)

Author SHA1 Message Date
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.
4 years ago
Adrien Vergé fec2c2fba7 fix(parser): Correctly handle DOS new lines in 'line' rules
Do not consider the trailing `\r` of a line a part of it.
7 years ago
Adrien Vergé 6b5948c06b Tests: Reorganize common and global tests 10 years ago
Adrien Vergé 350213b165 Initial commit 10 years ago