| 1 |
from .avoid_all_caps import AvoidAllCaps |
| 2 |
from .incorrect_widget_placement import ( |
| 3 |
IncorrectWidgetPlacement, |
| 4 |
) |
| 5 |
from .missing_user_facing_properties import ( |
| 6 |
MissingUserFacingProperties, |
| 7 |
) |
| 8 |
from .no_gtk_switch_state import NoGtkSwitchState |
| 9 |
from .no_visible_true import NoVisibleTrue |
| 10 |
from .number_of_children import NumberOfChildren |
| 11 |
from .order_properties_gtk_adjustment import ( |
| 12 |
OrderPropertiesGtkAdjustment, |
| 13 |
) |
| 14 |
from .prefer_adw_bin import PreferAdwBin |
| 15 |
from .prefer_unicode_chars import PreferUnicodeChars |
| 16 |
from .require_a11y_label import RequireA11yLabel |
| 17 |
from .scrollable_parent import ScrollableParent |
| 18 |
from .translatable_display_string import ( |
| 19 |
TranslatableDisplayString, |
| 20 |
) |
| 21 |
from .unused_widget import UnusedWidget |
| 22 |
from .use_styles_over_css_classes import ( |
| 23 |
UseStylesOverCssClasses, |
| 24 |
) |
| 25 |
from .utils import LinterRule |
| 26 |
|
| 27 |
LINTER_RULES: list[type[LinterRule]] = [ |
| 28 |
NumberOfChildren, |
| 29 |
PreferAdwBin, |
| 30 |
TranslatableDisplayString, |
| 31 |
NoGtkSwitchState, |
| 32 |
NoVisibleTrue, |
| 33 |
RequireA11yLabel, |
| 34 |
AvoidAllCaps, |
| 35 |
PreferUnicodeChars, |
| 36 |
MissingUserFacingProperties, |
| 37 |
UseStylesOverCssClasses, |
| 38 |
ScrollableParent, |
| 39 |
IncorrectWidgetPlacement, |
| 40 |
OrderPropertiesGtkAdjustment, |
| 41 |
UnusedWidget, |
| 42 |
] |