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:
592592 def add_handle_at_relative_pos (
593593 self , relative_pos : float , new_color : QG .QColor | int | None = None
594594 ) -> 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.).
596596 Mutates the colormap object. If the relative position is already occupied by a
597597 handle, the new handle will be inserted at the closest available position then
598598 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.
9090[tool .ruff .lint ]
9191# all rules can be found here: https://beta.ruff.rs/docs/rules/
9292select = [
93- " D202" , # Pydocstyle
93+ " D202" , # No blank lines allowed after function docstring.
94+ " D403" , # First word of docstring should be properly capitalized.
9495 " E" , # Pycodestyle error
9596 " F" , # Pyflakes
9697 " I" , # Isort
You can’t perform that action at this time.
0 commit comments