py2ts.config.Config¶
- class py2ts.config.Config(comment_line_length: int = 80, none_as_null: bool = True, export_interfaces: bool = True, any_as_unknown: bool = True, indent_with_tabs: bool = True, indent_size: int = 4)¶
Configuration for the py2ts module.
Attributes
Return the indentation string based on the configuration.
any_as_unknowncomment_line_lengthexport_interfacesindent_sizeindent_with_tabsnone_as_nullMethods
__init__([comment_line_length, ...])override(config)Override the configuration with the provided configuration.
- property TAB¶
Return the indentation string based on the configuration.
- __init__(comment_line_length: int = 80, none_as_null: bool = True, export_interfaces: bool = True, any_as_unknown: bool = True, indent_with_tabs: bool = True, indent_size: int = 4) None¶
- override(config: MinimalConfig) Config¶
Override the configuration with the provided configuration.