diff --git a/.pylintrc b/.pylintrc index 2627ec0..2de412d 100644 --- a/.pylintrc +++ b/.pylintrc @@ -3,7 +3,6 @@ [MESSAGES CONTROL] disable=fixme, abstract-method, - anomalous-backslash-in-string, arguments-differ, arguments-renamed, assignment-from-no-return, diff --git a/src/wuttaweb/forms/base.py b/src/wuttaweb/forms/base.py index 3a8af71..848b9f0 100644 --- a/src/wuttaweb/forms/base.py +++ b/src/wuttaweb/forms/base.py @@ -494,7 +494,7 @@ class Form: # pylint: disable=too-many-instance-attributes :param widget: Either a :class:`deform:deform.widget.Widget` instance, or else a widget "type" name. - :param \**kwargs: Any remaining kwargs are passed along to + :param \\**kwargs: Any remaining kwargs are passed along to :meth:`make_widget()` - if applicable. Widget overrides are tracked via :attr:`widgets`. @@ -526,7 +526,7 @@ class Form: # pylint: disable=too-many-instance-attributes :param widget_type: Which of the above (or custom) widget type to create. - :param \**kwargs: Remaining kwargs are passed as-is to the + :param \\**kwargs: Remaining kwargs are passed as-is to the widget factory. :returns: New widget instance, or ``None`` if e.g. it could diff --git a/src/wuttaweb/grids/filters.py b/src/wuttaweb/grids/filters.py index 6e90d98..ea105eb 100644 --- a/src/wuttaweb/grids/filters.py +++ b/src/wuttaweb/grids/filters.py @@ -63,7 +63,7 @@ class GridFilter: # pylint: disable=too-many-instance-attributes column by which to filter. For instance, ``model.Person.full_name``. - :param \**kwargs: Any additional kwargs will be set as attributes + :param \\**kwargs: Any additional kwargs will be set as attributes on the filter instance. Filter instances have the following attributes: diff --git a/src/wuttaweb/views/batch.py b/src/wuttaweb/views/batch.py index fd2ced9..a94e10f 100644 --- a/src/wuttaweb/views/batch.py +++ b/src/wuttaweb/views/batch.py @@ -221,7 +221,7 @@ class BatchMasterView(MasterView): on the batch handler - when creating. Parent/default logic is used when updating. - :param \**kwargs: Additional kwargs will be passed as-is to + :param \\**kwargs: Additional kwargs will be passed as-is to the ``make_batch()`` call. """ if self.creating: diff --git a/src/wuttaweb/views/master.py b/src/wuttaweb/views/master.py index db234de..f5f9e82 100644 --- a/src/wuttaweb/views/master.py +++ b/src/wuttaweb/views/master.py @@ -1651,7 +1651,7 @@ class MasterView(View): button act like a link. This will yield something like: ```` - :param \**kwargs: All remaining kwargs are passed to the + :param \\**kwargs: All remaining kwargs are passed to the underlying ``HTML.tag()`` call, so will be rendered as attributes on the button tag. @@ -2260,7 +2260,7 @@ class MasterView(View): :param obj: Model instance object. - :param \**kwargs: Additional kwargs to be passed to + :param \\**kwargs: Additional kwargs to be passed to ``request.route_url()``, if needed. """ kw = self.get_action_route_kwargs(obj)