mirror of
https://github.com/adrienverge/yamllint.git
synced 2025-02-25 18:55:20 -06:00
Fix typos
This commit is contained in:
parent
598e5e4370
commit
a5c97220e7
@ -62,7 +62,7 @@ CONF = {'max': int,
|
|||||||
|
|
||||||
def check(conf, line):
|
def check(conf, line):
|
||||||
if line.start == line.end and line.end < len(line.buffer):
|
if line.start == line.end and line.end < len(line.buffer):
|
||||||
# Only alert on the last blank line of a serie
|
# Only alert on the last blank line of a series
|
||||||
if (line.end < len(line.buffer) - 1 and
|
if (line.end < len(line.buffer) - 1 and
|
||||||
line.buffer[line.end + 1] == '\n'):
|
line.buffer[line.end + 1] == '\n'):
|
||||||
return
|
return
|
||||||
|
@ -59,7 +59,7 @@ Use this rule to set a limit to lines length.
|
|||||||
the following code snippet would **FAIL**:
|
the following code snippet would **FAIL**:
|
||||||
::
|
::
|
||||||
|
|
||||||
- this line is waaaaaaaaaaaaaay too long but could be easily splitted...
|
- this line is waaaaaaaaaaaaaay too long but could be easily split...
|
||||||
|
|
||||||
#. With ``line-length: {max: 60, allow-non-breakable-words: no}``
|
#. With ``line-length: {max: 60, allow-non-breakable-words: no}``
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user