Module implementing a dialog to enter the parameters for an isort formatting run.
None |
IsortConfigurationDialog | Class implementing a dialog to enter the parameters for an isort formatting run. |
None |
Class implementing a dialog to enter the parameters for an isort formatting run.
None |
None |
IsortConfigurationDialog | Constructor |
__createTomlSnippet | Private slot to generate a TOML snippet of the current configuration. |
__getConfigurationDict | Private method to assemble and return a dictionary containing the entered non-default configuration parameters. |
__loadConfiguration | Private method to load the configuration section with data of the given dictionary. |
__populateMultiLineComboBox | Private method to populate the multi line output selector. |
getConfiguration | Public method to get the current configuration parameters. |
on_profileComboBox_editTextChanged | Private slot to react upon changes of the selected/entered profile. |
on_sourceComboBox_currentTextChanged | Private slot to handle the selection of a configuration source. |
None |
Constructor
Private slot to generate a TOML snippet of the current configuration.
Note: Only non-default values are included in this snippet.
The code snippet is copied to the clipboard and may be placed inside the 'pyproject.toml' file.
Private method to assemble and return a dictionary containing the entered non-default configuration parameters.
Private method to load the configuration section with data of the given dictionary.
Note: Default values will be loaded for missing parameters.
Private method to populate the multi line output selector.
Public method to get the current configuration parameters.
Private slot to react upon changes of the selected/entered profile.
Private slot to handle the selection of a configuration source.