schema_salad.sourceline
Attributes
Classes
Functions
|
|
|
|
|
|
|
|
|
|
|
Indent using the specified number of bullets. |
|
Strip duplicated line numbers. |
|
|
|
Module Contents
- schema_salad.sourceline.lineno_re
- schema_salad.sourceline.add_lc_filename(r, source)
- Parameters:
r (ruamel.yaml.comments.CommentedBase)
source (str)
- Return type:
None
- schema_salad.sourceline.reflow_all(text, maxline=None)
- schema_salad.sourceline.reflow(text, maxline, shift='')
- schema_salad.sourceline.indent(v, nolead=False, shift=' ', bullet=' ')
- schema_salad.sourceline.bullets(textlist, bul)
Indent using the specified number of bullets.
- schema_salad.sourceline.strip_duplicated_lineno(text)
Strip duplicated line numbers.
Same as
strip_dup_lineno()
but without reflow.
- schema_salad.sourceline.strip_dup_lineno(text, maxline=None)
- schema_salad.sourceline.cmap(d, lc=None, fn=None)