docs: Warn about Python 2 and problems with line-length

Closes #146.
This commit is contained in:
Adrien Vergé
2018-11-23 14:13:04 +01:00
parent c8032c086b
commit 8bdddf6e89

View File

@@ -17,6 +17,10 @@
""" """
Use this rule to set a limit to lines length. Use this rule to set a limit to lines length.
Note: with Python 2, the ``line-length`` rule may not work properly with
unicode characters because of the way strings are represented in bytes. We
recommend running yamllint with Python 3.
.. rubric:: Options .. rubric:: Options
* ``max`` defines the maximal (inclusive) length of lines. * ``max`` defines the maximal (inclusive) length of lines.