3
0
Fork 0

fix: fix 'anomalous-backslash-in-string' for pylint

This commit is contained in:
Lance Edgar 2025-08-31 21:34:10 -05:00
parent 7fcca23071
commit 019d30d8a0
5 changed files with 6 additions and 7 deletions

View file

@ -3,7 +3,6 @@
[MESSAGES CONTROL] [MESSAGES CONTROL]
disable=fixme, disable=fixme,
abstract-method, abstract-method,
anomalous-backslash-in-string,
arguments-differ, arguments-differ,
arguments-renamed, arguments-renamed,
assignment-from-no-return, assignment-from-no-return,

View file

@ -494,7 +494,7 @@ class Form: # pylint: disable=too-many-instance-attributes
:param widget: Either a :class:`deform:deform.widget.Widget` :param widget: Either a :class:`deform:deform.widget.Widget`
instance, or else a widget "type" name. 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. :meth:`make_widget()` - if applicable.
Widget overrides are tracked via :attr:`widgets`. 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 :param widget_type: Which of the above (or custom) widget
type to create. 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. widget factory.
:returns: New widget instance, or ``None`` if e.g. it could :returns: New widget instance, or ``None`` if e.g. it could

View file

@ -63,7 +63,7 @@ class GridFilter: # pylint: disable=too-many-instance-attributes
column by which to filter. For instance, column by which to filter. For instance,
``model.Person.full_name``. ``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. on the filter instance.
Filter instances have the following attributes: Filter instances have the following attributes:

View file

@ -221,7 +221,7 @@ class BatchMasterView(MasterView):
on the batch handler - when creating. Parent/default logic is on the batch handler - when creating. Parent/default logic is
used when updating. 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. the ``make_batch()`` call.
""" """
if self.creating: if self.creating:

View file

@ -1651,7 +1651,7 @@ class MasterView(View):
button act like a link. This will yield something like: button act like a link. This will yield something like:
``<b-button tag="a" href="{url}">`` ``<b-button tag="a" href="{url}">``
: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 underlying ``HTML.tag()`` call, so will be rendered as
attributes on the button tag. attributes on the button tag.
@ -2260,7 +2260,7 @@ class MasterView(View):
:param obj: Model instance object. :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. ``request.route_url()``, if needed.
""" """
kw = self.get_action_route_kwargs(obj) kw = self.get_action_route_kwargs(obj)