Sat, 26 Apr 2025 12:34:32 +0200
MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>IsortConfigurationDialog</class> <widget class="QDialog" name="IsortConfigurationDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>750</width> <height>800</height> </rect> </property> <property name="windowTitle"> <string>isort Configuration</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="1"> <widget class="QComboBox" name="sourceComboBox"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Select the configuration source.</string> </property> </widget> </item> <item row="0" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>Configuration Source:</string> </property> </widget> </item> <item row="2" column="0" colspan="2"> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> <item row="1" column="0" colspan="2"> <widget class="QGroupBox" name="configurationGroup"> <property name="title"> <string>Configuration</string> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QGroupBox" name="groupBox_2"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>2</verstretch> </sizepolicy> </property> <property name="title"> <string>Sorting</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLabel" name="label_14"> <property name="text"> <string>Sort Order:</string> </property> </widget> </item> <item> <widget class="QComboBox" name="sortOrderComboBox"> <property name="toolTip"> <string>Select the sort order (empty for default).</string> </property> </widget> </item> </layout> </item> <item> <widget class="QLabel" name="label_15"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string><a href="https://pycqa.github.io/isort/docs/configuration/options.html#sort-order">Defined Sort Orders</a></string> </property> <property name="openExternalLinks"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QCheckBox" name="sortCaseSensitiveCheckBox"> <property name="toolTip"> <string>Select to sort imports observing the case.</string> </property> <property name="text"> <string>Sort Case Sensitively</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="sortIgnoreStyleCheckBox"> <property name="toolTip"> <string>Select to sort the imports by module, independent of import style</string> </property> <property name="text"> <string>Sort Ignoring Style</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="sortFromFirstCheckBox"> <property name="toolTip"> <string>Select to place from imports first then straight ones</string> </property> <property name="text"> <string>Sort From First</string> </property> </widget> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>13</height> </size> </property> </spacer> </item> </layout> </item> <item> <layout class="QGridLayout" name="gridLayout_6"> <item row="0" column="0"> <widget class="QLabel" name="label_10"> <property name="text"> <string>Sections:</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> </widget> </item> <item row="0" column="1"> <widget class="QLabel" name="label_17"> <property name="text"> <string>Known First Party Packages:</string> </property> </widget> </item> <item row="1" column="0"> <widget class="QPlainTextEdit" name="sectionsEdit"> <property name="toolTip"> <string>Enter the order of sections (one per line).</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QPlainTextEdit" name="firstPartyEdit"> <property name="toolTip"> <string>Enter the known first party package names (one per line).</string> </property> </widget> </item> </layout> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_3"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>3</verstretch> </sizepolicy> </property> <property name="title"> <string>Input</string> </property> <layout class="QGridLayout" name="gridLayout_5"> <item row="0" column="0"> <widget class="QLabel" name="label_16"> <property name="text"> <string>Supported Extensions:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QLineEdit" name="extensionsEdit"> <property name="toolTip"> <string>Enter the supported extensions separated by space (empty for default).</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_11"> <property name="text"> <string>Exclude Patterns:</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> </widget> </item> <item row="1" column="1"> <widget class="QPlainTextEdit" name="excludeEdit"> <property name="toolTip"> <string>Enter glob patterns for files to be skipped.</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Output</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QGridLayout" name="gridLayout_4"> <item row="2" column="1"> <widget class="QComboBox" name="multiLineComboBox"> <property name="toolTip"> <string>Select the type of multi line import statements (see isort documentation).</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QComboBox" name="profileComboBox"> <property name="toolTip"> <string>Enter a profile to be used (empty for none) (see isort documentation).</string> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Target Version:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QComboBox" name="pythonComboBox"> <property name="toolTip"> <string>Select the target Python version.</string> </property> </widget> </item> <item row="0" column="2"> <widget class="QLabel" name="label_13"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string><a href="https://pycqa.github.io/isort/docs/configuration/profiles.html">Built-In Profiles</a></string> </property> <property name="openExternalLinks"> <bool>true</bool> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_4"> <property name="text"> <string>Multi Line Output:</string> </property> </widget> </item> <item row="1" column="2"> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>198</width> <height>20</height> </size> </property> </spacer> </item> <item row="0" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Profile:</string> </property> </widget> </item> <item row="2" column="2"> <widget class="QLabel" name="label_12"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string><a href="https://pycqa.github.io/isort/docs/configuration/multi_line_output_modes.html">Defined Multi Line Output Modes</a></string> </property> <property name="openExternalLinks"> <bool>true</bool> </property> </widget> </item> </layout> </item> <item> <layout class="QGridLayout" name="gridLayout_3"> <item row="0" column="0"> <widget class="QLabel" name="label_5"> <property name="text"> <string>Line Length:</string> </property> </widget> </item> <item row="0" column="1" colspan="2"> <widget class="QSpinBox" name="lineLengthSpinBox"> <property name="toolTip"> <string>Enter the allowed maximum line length.</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="minimum"> <number>70</number> </property> <property name="maximum"> <number>120</number> </property> <property name="value"> <number>79</number> </property> </widget> </item> <item row="0" column="3" colspan="6"> <spacer name="horizontalSpacer_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>388</width> <height>17</height> </size> </property> </spacer> </item> <item row="1" column="0"> <widget class="QLabel" name="label_6"> <property name="text"> <string>Lines Before Imports:</string> </property> </widget> </item> <item row="1" column="1" colspan="3"> <widget class="QSpinBox" name="linesBeforeImportsSpinBox"> <property name="toolTip"> <string>Enter the number of lines before import statements.</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="specialValueText"> <string>automatic</string> </property> <property name="minimum"> <number>-1</number> </property> <property name="maximum"> <number>5</number> </property> <property name="value"> <number>-1</number> </property> </widget> </item> <item row="1" column="4"> <spacer name="horizontalSpacer_7"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item row="1" column="5"> <widget class="QLabel" name="label_7"> <property name="text"> <string>Lines After Imports:</string> </property> </widget> </item> <item row="1" column="6" colspan="2"> <widget class="QSpinBox" name="linesAfterImportsSpinBox"> <property name="toolTip"> <string>Enter the number of lines after import statements.</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="specialValueText"> <string>automatic</string> </property> <property name="minimum"> <number>-1</number> </property> <property name="maximum"> <number>120</number> </property> <property name="value"> <number>-1</number> </property> </widget> </item> <item row="1" column="8"> <spacer name="horizontalSpacer_8"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item row="2" column="0"> <widget class="QLabel" name="label_8"> <property name="text"> <string>Lines Between Sections:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QSpinBox" name="linesBetweenSectionsSpinBox"> <property name="toolTip"> <string>Enter the number of lines between import sections.</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="minimum"> <number>0</number> </property> <property name="maximum"> <number>5</number> </property> <property name="value"> <number>1</number> </property> </widget> </item> <item row="2" column="2" colspan="3"> <spacer name="horizontalSpacer_9"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>88</width> <height>20</height> </size> </property> </spacer> </item> <item row="2" column="5"> <widget class="QLabel" name="label_9"> <property name="text"> <string>Lines Between Types:</string> </property> </widget> </item> <item row="2" column="6"> <widget class="QSpinBox" name="linesBetweenTypesSpinBox"> <property name="toolTip"> <string>Enter the number of lines between import types.</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="minimum"> <number>0</number> </property> <property name="maximum"> <number>5</number> </property> <property name="value"> <number>0</number> </property> </widget> </item> <item row="2" column="7" colspan="2"> <spacer name="horizontalSpacer_3"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>88</width> <height>24</height> </size> </property> </spacer> </item> <item row="3" column="0" colspan="5"> <widget class="QCheckBox" name="trailingCommaCheckBox"> <property name="toolTip"> <string>Select to include a trailing comma.</string> </property> <property name="text"> <string>Include Trailing Comma</string> </property> </widget> </item> <item row="3" column="5" colspan="4"> <widget class="QCheckBox" name="parenthesesCheckBox"> <property name="toolTip"> <string>Select for parenthesized import statements.</string> </property> <property name="text"> <string>Use Parentheses</string> </property> </widget> </item> <item row="4" column="0" colspan="5"> <widget class="QCheckBox" name="combineAsCheckBox"> <property name="toolTip"> <string>Select to combine as imports on the same line.</string> </property> <property name="text"> <string>Combine As Imports</string> </property> </widget> </item> </layout> </item> </layout> </widget> </item> </layout> </widget> </item> </layout> </widget> <tabstops> <tabstop>sourceComboBox</tabstop> <tabstop>sortOrderComboBox</tabstop> <tabstop>label_15</tabstop> <tabstop>sortCaseSensitiveCheckBox</tabstop> <tabstop>sortIgnoreStyleCheckBox</tabstop> <tabstop>sortFromFirstCheckBox</tabstop> <tabstop>sectionsEdit</tabstop> <tabstop>firstPartyEdit</tabstop> <tabstop>extensionsEdit</tabstop> <tabstop>excludeEdit</tabstop> <tabstop>profileComboBox</tabstop> <tabstop>label_13</tabstop> <tabstop>pythonComboBox</tabstop> <tabstop>multiLineComboBox</tabstop> <tabstop>label_12</tabstop> <tabstop>lineLengthSpinBox</tabstop> <tabstop>linesBeforeImportsSpinBox</tabstop> <tabstop>linesAfterImportsSpinBox</tabstop> <tabstop>linesBetweenSectionsSpinBox</tabstop> <tabstop>linesBetweenTypesSpinBox</tabstop> <tabstop>trailingCommaCheckBox</tabstop> <tabstop>parenthesesCheckBox</tabstop> <tabstop>combineAsCheckBox</tabstop> </tabstops> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>IsortConfigurationDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>353</x> <y>453</y> </hint> <hint type="destinationlabel"> <x>376</x> <y>371</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>IsortConfigurationDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>166</x> <y>452</y> </hint> <hint type="destinationlabel"> <x>186</x> <y>365</y> </hint> </hints> </connection> </connections> </ui>