fix: fix 'anomalous-backslash-in-string' for pylint
This commit is contained in:
parent
7fcca23071
commit
019d30d8a0
5 changed files with 6 additions and 7 deletions
|
@ -3,7 +3,6 @@
|
|||
[MESSAGES CONTROL]
|
||||
disable=fixme,
|
||||
abstract-method,
|
||||
anomalous-backslash-in-string,
|
||||
arguments-differ,
|
||||
arguments-renamed,
|
||||
assignment-from-no-return,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -1651,7 +1651,7 @@ class MasterView(View):
|
|||
button act like a link. This will yield something like:
|
||||
``<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
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue