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

Closes #146.
pull/148/head
Adrien Vergé 7 years ago
parent 4e258b8401
commit e76d2e6b97

@ -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.

Loading…
Cancel
Save