From 5b1498ec192f3ce0ce6dfb0451e771d6ab602f32 Mon Sep 17 00:00:00 2001 From: Martijn Visser Date: Tue, 26 Nov 2024 14:43:50 +0100 Subject: [PATCH] Fix D404 --- ribasim_qgis/core/nodes.py | 2 +- ribasim_qgis/widgets/dataset_widget.py | 5 ++--- ribasim_qgis/widgets/ribasim_widget.py | 2 +- ruff.toml | 1 - 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ribasim_qgis/core/nodes.py b/ribasim_qgis/core/nodes.py index 3a7515226..0f6eb5e7e 100644 --- a/ribasim_qgis/core/nodes.py +++ b/ribasim_qgis/core/nodes.py @@ -1,5 +1,5 @@ """ -This module contains the classes to represent the Ribasim node layers. +Classes to represent the Ribasim node layers. The classes specify: diff --git a/ribasim_qgis/widgets/dataset_widget.py b/ribasim_qgis/widgets/dataset_widget.py index ff855e66e..079fad59f 100644 --- a/ribasim_qgis/widgets/dataset_widget.py +++ b/ribasim_qgis/widgets/dataset_widget.py @@ -1,8 +1,7 @@ """ -This widgets displays the available input layers in the GeoPackage. +A widget that displays the available input layers in the GeoPackage. -This widget also allows enabling or disabling individual elements for a -computation. +It also allows enabling or disabling individual elements for a computation. """ from __future__ import annotations diff --git a/ribasim_qgis/widgets/ribasim_widget.py b/ribasim_qgis/widgets/ribasim_widget.py index b3b84fa3c..77beeded3 100644 --- a/ribasim_qgis/widgets/ribasim_widget.py +++ b/ribasim_qgis/widgets/ribasim_widget.py @@ -1,5 +1,5 @@ """ -This module forms the high level DockWidget. +High level RibasimWidget. It ensures the underlying widgets can talk to each other. It also manages the connection to the QGIS Layers Panel, and ensures there is a group for the diff --git a/ruff.toml b/ruff.toml index 61a29a5ca..1c7f03dc0 100644 --- a/ruff.toml +++ b/ruff.toml @@ -6,7 +6,6 @@ target-version = "py39" # See https://docs.astral.sh/ruff/rules/ select = ["C4", "D2", "D3", "D4", "E", "F", "I", "NPY", "PD", "UP"] ignore = [ - "D404", "E402", "E501", "E703",