File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -592,7 +592,7 @@ def setup_menu(self) -> QW.QMenu:
592
592
def add_handle_at_relative_pos (
593
593
self , relative_pos : float , new_color : QG .QColor | int | None = None
594
594
) -> None :
595
- """insert a handle in the widget at the relative position (between 0. and 1.).
595
+ """Insert a handle in the widget at the relative position (between 0. and 1.).
596
596
Mutates the colormap object. If the relative position is already occupied by a
597
597
handle, the new handle will be inserted at the closest available position then
598
598
will be moved back to the requested position.
Original file line number Diff line number Diff line change @@ -90,7 +90,8 @@ target-version = "py39" # Assume Python 3.9.
90
90
[tool .ruff .lint ]
91
91
# all rules can be found here: https://beta.ruff.rs/docs/rules/
92
92
select = [
93
- " D202" , # Pydocstyle
93
+ " D202" , # No blank lines allowed after function docstring.
94
+ " D403" , # First word of docstring should be properly capitalized.
94
95
" E" , # Pycodestyle error
95
96
" F" , # Pyflakes
96
97
" I" , # Isort
You can’t perform that action at this time.
0 commit comments