PrinterConfig
- class PrinterConfig
Formatting options for pretty-printed models
Members defined in
PrinterConfig(6 members)RWWhether to insert a final new line
RWLine endings
RWNumber of visual columns to attempt to fit the formatted text into
RWNumber of spaces per indentation
RWWhether to indent using spaces rather than tabs
Attributes
- property line_end: syside.LineEnd
Line endings
Methods
- __init__(line_width: int = 100, tab_width: int = 4, line_end: syside.LineEnd = LineEnd.LF, use_spaces: bool = True, add_final_newline: bool = True) None