Skip to content

Commit 4f06ff6

Browse files
committed
Add rule to list items alphabetically in __all__ dunders
1 parent 538a917 commit 4f06ff6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

plotpy/external/sliders/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@
3737
from ._sliders import QDoubleRangeSlider, QDoubleSlider, QRangeSlider
3838

3939
__all__ = [
40+
"MONTEREY_SLIDER_STYLES_FIX",
4041
"QDoubleRangeSlider",
4142
"QDoubleSlider",
4243
"QLabeledDoubleRangeSlider",
4344
"QLabeledDoubleSlider",
4445
"QLabeledRangeSlider",
4546
"QLabeledSlider",
4647
"QRangeSlider",
47-
"MONTEREY_SLIDER_STYLES_FIX",
4848
"signals_blocked",
4949
]

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ select = [
9696
"F", # Pyflakes
9797
"I", # Isort
9898
"NPY201", # Numpy-specific checks
99+
"RUF022", # Unsorted __all__
99100
"W" # Pycodestyle warning
100101
]
101102
ignore = [

0 commit comments

Comments
 (0)